This commit is contained in:
Salar Rahmanian 2023-02-11 15:30:04 -08:00
parent 9431d011d1
commit 62974959b4
2 changed files with 18 additions and 18 deletions

View file

@ -4,12 +4,12 @@ return {
config = function() config = function()
-- Default from its README then customized -- Default from its README then customized
-- Added metals status -- Added metals status
require('lualine').setup { require("lualine").setup({
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = 'auto', theme = "auto",
component_separators = { left = '', right = ''}, component_separators = { left = "", right = "" },
section_separators = { left = '', right = ''}, section_separators = { left = "", right = "" },
disabled_filetypes = { disabled_filetypes = {
statusline = {}, statusline = {},
winbar = {}, winbar = {},
@ -21,28 +21,28 @@ return {
statusline = 1000, statusline = 1000,
tabline = 1000, tabline = 1000,
winbar = 1000, winbar = 1000,
} },
}, },
sections = { sections = {
lualine_a = {'mode'}, lualine_a = { "mode" },
lualine_b = {'branch', 'diff', 'diagnostics'}, lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = {'filename'}, lualine_c = { "filename" },
lualine_x = {'g:metals_status', 'encoding', 'fileformat', 'filetype'}, lualine_x = { "g:metals_status", "encoding", "fileformat", "filetype" },
lualine_y = {'progress'}, lualine_y = { "progress" },
lualine_z = {'location'} lualine_z = { "location" },
}, },
inactive_sections = { inactive_sections = {
lualine_a = {}, lualine_a = {},
lualine_b = {}, lualine_b = {},
lualine_c = {'filename'}, lualine_c = { "filename" },
lualine_x = {'location'}, lualine_x = { "location" },
lualine_y = {}, lualine_y = {},
lualine_z = {} lualine_z = {},
}, },
tabline = {}, tabline = {},
winbar = {}, winbar = {},
inactive_winbar = {}, inactive_winbar = {},
extensions = {} extensions = {},
} })
end, end,
} }

View file

@ -4,8 +4,8 @@ return {
config = function() config = function()
require("mind").setup({ require("mind").setup({
persistence = { persistence = {
dataDir = "~/Documents/mind.nvim/data"; dataDir = "~/Documents/mind.nvim/data",
statePath = "~/Documents/mind.nvim/mind.json"; statePath = "~/Documents/mind.nvim/mind.json",
}, },
}) })
end, end,