mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
feat: display LSP source on statusline
This commit is contained in:
parent
acf14daea2
commit
0c01fbc121
3 changed files with 25 additions and 3 deletions
|
|
@ -12,13 +12,14 @@ in {
|
|||
];
|
||||
|
||||
vim.luaConfigRC.lualine = nvim.dag.entryAnywhere ''
|
||||
require('lualine').setup {
|
||||
local lualine = require('lualine')
|
||||
lualine.setup {
|
||||
options = {
|
||||
icons_enabled = ${boolToString cfg.icons.enable},
|
||||
theme = "${cfg.theme}",
|
||||
component_separators = {"${cfg.componentSeparator.left}","${cfg.componentSeparator.right}"},
|
||||
section_separators = {"${cfg.sectionSeparator.left}","${cfg.sectionSeparator.right}"},
|
||||
disabled_filetypes = { 'alpha' }, -- 'NvimTree'
|
||||
disabled_filetypes = { 'alpha' },
|
||||
always_divide_middle = true,
|
||||
globalstatus = ${boolToString cfg.globalStatus},
|
||||
ignore_focus = {'NvimTree'},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue