From 28af579d46e03c6d00059d87aa577618b810c39e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 19 Oct 2022 01:10:41 +0200 Subject: Fix spell in term --- fnl/config/autocmd.fnl | 6 ++++-- 1 file 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 -- cgit v1.2.3-70-g09d2