nvim/plug/lualine: slight fixes to settings

- Enable toggleterm support (it now recognizes TT windows)
- Use gitsigns for branch detection (faster than running external
  git commands)
- Remove 'italic' from branch section highlights
This commit is contained in:
Paul Stemmet 2022-09-11 17:33:56 +00:00
parent 184a8b6724
commit 76a113c215
Signed by: Paul Stemmet
GPG key ID: EDEA539F594E7E75

View file

@ -23,7 +23,7 @@ return function()
symbols = { modified = '|', readonly = '|', unnamed = '' },
color = file_color,
}
local branch = { 'branch', icon = '', color = { gui = 'bold,italic' } }
local branch = { 'b:gitsigns_head', icon = '', color = { gui = 'bold' } }
local diagnostics = { 'diagnostics', sources = { 'coc' }, update_in_insert = true }
local diff = { 'diff', source = diff_source }
@ -58,7 +58,7 @@ return function()
lualine_y = {},
lualine_z = {}
},
extensions = { 'fugitive', 'quickfix', 'man', 'fzf', 'neo-tree' }
extensions = { 'fugitive', 'quickfix', 'man', 'fzf', 'neo-tree', 'toggleterm' }
}
ll.setup(util.mconfig('config.lualine', defaults))