diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-19 01:10:41 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-19 01:10:41 +0200 |
commit | 28af579d46e03c6d00059d87aa577618b810c39e (patch) | |
tree | 9df57e14c9604d35491b910b8cebc7b3fa8f238c | |
parent | 32e8074f7e9812b2947c03b89764a5101d47aa3f (diff) |
Fix spell in term
-rw-r--r-- | fnl/config/autocmd.fnl | 6 |
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 |