diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 19:50:56 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 19:50:56 +0200 |
commit | bba988db077055418189bbc41fccb29bc1378c9c (patch) | |
tree | 33ad87acf14b9742481f839778644297de48adba /fnl/config | |
parent | 7327360ff60acdad5161754371cfc19851c16d6c (diff) |
Update lualine config
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]} |