summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 14:13:11 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 14:13:11 +0200
commitae2d8b586d2781e88e6ca6c78e3494ba6b03992f (patch)
treedbc20b8de14ab256adb9f76c0dda294cb0acf04d
parentec825863530260d008350e051873a03ceb031de3 (diff)
Update autocmd spell, remove legacy stuff in minibar
-rw-r--r--fnl/config/autocmd.fnl8
-rw-r--r--fnl/config/minibar.fnl4
2 files changed, 8 insertions, 4 deletions
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