Browse Source

Re-enabled lualine

master
Julio Biason 2 months ago
parent
commit
f041b08bad
  1. 55
      nvim/lua/plugins.lua

55
nvim/lua/plugins.lua

@ -56,7 +56,58 @@ require('pckr').add {
vim.keymap.set('n', '<Leader><Space>', builtin.find_files, options)
vim.keymap.set('n', '<Leader>g', builtin.live_grep, options)
vim.keymap.set('n', '<Leader>b', builtin.buffers, options)
print("'" .. vim.g.mapleader .. "'")
end };
-- git support
'tpope/vim-fugitive';
-- comment out (or in) lines
'windwp/nvim-autopairs';
{ 'nvim-lualine/lualine.nvim',
config = function()
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'nightfly',
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
disabled_filetypes = {},
always_divide_middle = true,
},
sections = {
lualine_a = {'mode'},
lualine_b = {'filename', 'branch'},
lualine_c = {
{
'diagnostics',
symbols = {error = 'Errors:', warn = 'Warns:', info = 'Info:', hint = 'Hints:'},
sources = { 'nvim_diagnostic' }
}
},
lualine_w = {'encoding'},
lualine_x = {'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {
lualine_a = {'tabs'},
lualine_b = {},
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = {}
},
extensions = {}
}
end
};
}

Loading…
Cancel
Save