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:
parent
184a8b6724
commit
76a113c215
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue