From ae2d8b586d2781e88e6ca6c78e3494ba6b03992f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Oct 2022 14:13:11 +0200 Subject: Update autocmd spell, remove legacy stuff in minibar --- fnl/config/autocmd.fnl | 8 ++++++++ fnl/config/minibar.fnl | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'fnl') diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index 9bd59cc..dfdf789 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -21,6 +21,14 @@ (create-autocmd :FileType {:pattern [:gitcommit :markdown] :command "setlocal wrap"}) +(create-autocmd :FileType + {:pattern [:NeogitStatus + :NeogitCommitMessage + :NeogitNotification + :NeogitCommitView + :toggleterm] + :command "setlocal spell!"}) + (create-autocmd :VimResized {:command "tabdo wincmd ="}) (create-autocmd :BufWritePost diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl index 8f0e792..f64188f 100644 --- a/fnl/config/minibar.fnl +++ b/fnl/config/minibar.fnl @@ -1,14 +1,10 @@ (module config.minibar {autoload {util config.util}}) (def- opts {:ignore-filetypes [:help - :startify :harpoon - :dashboard :packer :neogitstatus :Trouble - :alpha - :lir :org :netrw :Outline -- cgit v1.2.3-70-g09d2