From 5deb05b869a22b0ce29ca071cf0c3898fae63063 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 30 Jul 2022 18:26:23 +0200 Subject: Add surround --- fnl/config/lualine.fnl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'fnl/config/lualine.fnl') 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 {} -- cgit v1.2.3-70-g09d2