summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-19 01:10:41 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-19 01:10:41 +0200
commit28af579d46e03c6d00059d87aa577618b810c39e (patch)
tree9df57e14c9604d35491b910b8cebc7b3fa8f238c /fnl
parent32e8074f7e9812b2947c03b89764a5101d47aa3f (diff)
Fix spell in term
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