vim-patch:9d8ef7cc4340

runtime: cleanup :Sman command via the undo_ftplugin mechanism (vim/vim#12967)

Regards to @dkearns as noticed in
2ac708b548

9d8ef7cc43

Co-authored-by: Enno <Konfekt@users.noreply.github.com>
This commit is contained in:
Christian Clason
2023-08-30 18:16:30 +02:00
parent 670c7609c8
commit b2c3e9c72e
9 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ if executable('zsh') && &shell !~# '/\%(nologin\|false\)$'
compiler zsh
endif
setlocal keywordprg=:RunHelp
let b:undo_ftplugin .= 'keywordprg<'
let b:undo_ftplugin .= 'keywordprg< | sil! delc -buffer RunHelp'
endif
let b:match_words = '\<if\>:\<elif\>:\<else\>:\<fi\>'