1
0
Fork 0
dotfiles/config/nvim/plugins/lualine.fnl

32 lines
1.7 KiB
Text
Raw Normal View History

2022-04-05 19:57:44 +00:00
(let [lualine (require :lualine)
ns (require :nifoc.statusline)]
(lualine.setup {:options {:globalstatus true
:theme :dracula-nvim
:section_separators ""
:component_separators "|"
:icons_enabled true}
:sections {; Left
:lualine_a [:mode]
2022-05-04 13:03:51 +00:00
:lualine_b [{1 :diff
:source ns.gitsigns-diff-source
:symbols {:added " "
:modified " "
:removed " "}}
2022-04-10 21:47:39 +00:00
{1 :diagnostics
:sources [:nvim_diagnostic]
:symbols {:error " "
:warn " "
:info " "
:hint " "}}]
2022-04-05 19:57:44 +00:00
:lualine_c [ns.current-function]
; Right
:lualine_x [:filetype
ns.lsp-enabled?
ns.treesitter-enabled?
ns.fixer-enabled?
ns.spell-enabled?]
:lualine_y [ns.current-line-percent]
2022-05-07 21:31:42 +00:00
:lualine_z [ns.line-column]}
:extensions [:toggleterm (ns.extension-telescope)]}))
2022-05-04 13:03:51 +00:00