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

View file

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