summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/autocmd.fnl6
1 files changed, 4 insertions, 2 deletions
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl
index e05405d..0b97224 100644
--- a/fnl/config/autocmd.fnl
+++ b/fnl/config/autocmd.fnl
@@ -25,10 +25,12 @@
{:pattern [:NeogitStatus
:NeogitCommitMessage
:NeogitNotification
- :NeogitCommitView
- :ToggleTerm]
+ :NeogitCommitView]
:command "setlocal spell!"})
+(create-autocmd :TermOpen
+ {:pattern ["term://*toggleterm#*"] :command "setlocal spell!"})
+
(create-autocmd :VimResized {:command "tabdo wincmd ="})
(create-autocmd :BufWritePost