From a70bbd714f4967d6a5b81a163dbed8bac1157696 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 10 Oct 2022 23:31:38 +0200 Subject: Remove insane refresh on lualine --- fnl/config/lualine.fnl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fnl/config/lualine.fnl') diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 7701915..472f494 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -58,8 +58,7 @@ :disabled_filetypes disable :ignore_focus ignore :always_divide_middle true - :globalstatus true - :refresh {:statusline 50}} + :globalstatus true} :sections {:lualine_a [:mode] :lualine_b [branch diff] :lualine_c {} -- cgit v1.2.3-70-g09d2 From edef92a943e237ca483b43f912cf844653fc49b7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Oct 2022 00:24:07 +0200 Subject: Remove more nvim-tree config --- fnl/config/autocmd.fnl | 3 --- fnl/config/lualine.fnl | 2 +- fnl/config/minibar.fnl | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'fnl/config/lualine.fnl') diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index 40eb338..017792f 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -3,9 +3,6 @@ (defn create-autocmd [event opts] (nvim.create_autocmd event opts)) -(create-autocmd :BufEnter - {:command "if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif"}) - (create-autocmd :FileType {:pattern [:qf :help :man :lspinfo] :command "nnoremap q :close"}) diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 472f494..d098966 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -8,7 +8,7 @@ :NeogitStatus :NeogitCommitMessage]) -(def- ignore [:help :NvimTree :packer :spectre_panel :TelescopePrompt]) +(def- ignore [:help :packer :spectre_panel :TelescopePrompt]) (defn- active-clients [] (let [clients (vim.lsp.buf_get_clients) client_names []] diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl index f8c0a30..fddb71c 100644 --- a/fnl/config/minibar.fnl +++ b/fnl/config/minibar.fnl @@ -6,7 +6,6 @@ :dashboard :packer :neogitstatus - :NvimTree :Trouble :alpha :lir -- cgit v1.2.3-70-g09d2