summaryrefslogtreecommitdiff
path: root/fnl/config/lualine.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 18:26:23 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 18:26:23 +0200
commit5deb05b869a22b0ce29ca071cf0c3898fae63063 (patch)
treee778a8ab4b53a12adbcb8cfe1299686149484d62 /fnl/config/lualine.fnl
parentcce9487d9a0dc7f3c9a590cb02d35eb4de729991 (diff)
Add surround
Diffstat (limited to 'fnl/config/lualine.fnl')
-rw-r--r--fnl/config/lualine.fnl19
1 files changed, 10 insertions, 9 deletions
diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl
index 87aaf94..9674323 100644
--- a/fnl/config/lualine.fnl
+++ b/fnl/config/lualine.fnl
@@ -4,15 +4,14 @@
(def- ignore [:help
:packer
:neogitstatus
- :NvimTree
+ ;; :NvimTree
:lir
:spectre_panel
:alpha
:Outline
:NeogitStatus
:NeogitCommitMessage
- :TelescopePrompt
- ""])
+ :TelescopePrompt])
(defn- active-clients [] (let [clients (vim.lsp.buf_get_clients)
client_names []]
@@ -30,25 +29,27 @@
:sections [:error :warn]
:symbols {:error " " :warn " "}
:colored false
+ :disabled_buftypes [:nvim-tree]
:padding 0
:update_in_insert false
:always_visible true})
-(def- diff {1 :diff :colored false :cond hide-in-width})
+(def- diff {1 :diff :colored false :disabled_buftypes [:nvim-tree] :cond hide-in-width})
-(def- branch {1 "b:gitsigns_head" :icon " " :cond hide-in-width})
+(def- branch {1 "b:gitsigns_head" :icon " " :disabled_buftypes [:nvim-tree] :cond hide-in-width})
-(def- filetype {1 :filetype :colored false :cond hide_in_width})
+(def- filetype {1 :filetype :disabled_buftypes [:nvim-tree] :colored false :cond hide_in_width})
-(def- language-server {1 active-clients :cond hide_in_width})
+(def- language-server {1 active-clients :disabled_buftypes [:nvim-tree] :cond hide_in_width})
(def- opts {:options {:icons_enabled true
:theme :auto
- :component_separators {:left "" :right ""}
+ :component_separators ""
:section_separators {:left "" :right ""}
:disabled_filetypes ignore
:always_divide_middle true
- :globalstatus true}
+ :globalstatus true
+ :refresh {:statusline 50}}
:sections {:lualine_a [:mode]
:lualine_b [branch diff]
:lualine_c {}