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

26 lines
1.3 KiB
Plaintext
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]
:lualine_b ["b:gitsigns_status"
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]
:lualine_z [ns.line-column]}}))