feat: display LSP source on statusline

This commit is contained in:
NotAShelf 2023-06-07 02:36:02 +03:00
commit 0c01fbc121
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
3 changed files with 25 additions and 3 deletions

View file

@ -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'},