forked from nico/dots
nvim: added neovim configuration
This commit is contained in:
parent
7182c3a7a0
commit
0399226628
17 changed files with 579 additions and 0 deletions
46
stow/.config/nvim/lua/nico/lazy/lualine.lua
Normal file
46
stow/.config/nvim/lua/nico/lazy/lualine.lua
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'auto',
|
||||
component_separators = { left = '', right = ''},
|
||||
section_separators = { left = ' ', right = ' '},
|
||||
disabled_filetypes = {
|
||||
statusline = {},
|
||||
winbar = {},
|
||||
},
|
||||
ignore_focus = {},
|
||||
always_divide_middle = true,
|
||||
globalstatus = false,
|
||||
refresh = {
|
||||
statusline = 1000,
|
||||
tabline = 1000,
|
||||
winbar = 1000,
|
||||
}
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = {},
|
||||
lualine_c = {'filename', 'filetype'},
|
||||
lualine_x = {'diff', 'diagnostics'},
|
||||
lualine_y = {'branch'},
|
||||
lualine_z = {'progress'}
|
||||
},
|
||||
inactive_sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = {'branch'},
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {'fileformat', 'encoding', 'location'},
|
||||
lualine_y = {},
|
||||
lualine_z = {'progress'}
|
||||
},
|
||||
tabline = {},
|
||||
winbar = {},
|
||||
inactive_winbar = {},
|
||||
extensions = {}
|
||||
}
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue