diff options
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/lualine.fnl | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 47537ff..b8c651d 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -1,6 +1,18 @@ ;; Statusbar. (module config.lualine {autoload {util util}}) +(def- ignore [:help + :packer + :neogitstatus + :NvimTree + :lir + :spectre_panel + :alpha + :Outline + :NeogitStatus + :TelescopePrompt + ""]) + (defn- hide-in-width [] (> (vim.fn.winwidth 0) 80)) (def- diagnostics {1 :diagnostics @@ -25,14 +37,11 @@ :theme :auto :component_separators {:left "" :right ""} :section_separators {:left "" :right ""} - :disabled_filetypes [:alpha - :dashboard - :NvimTree - :Outline] + :disabled_filetypes ignore :always_divide_middle true} :sections {:lualine_a [:mode] - :lualine_b [branch :filename] - :lualine_c [diff] + :lualine_b [branch diff :filename] + :lualine_c {} :lualine_x [diagnostics filetype] :lualine_y {} :lualine_z [:location :progress :encoding]} |