vim-patch:9d8ef7cc4340

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

Regards to @dkearns as noticed in
https://github.com/vim/vim/commit/2ac708b548660b232a32c52d89bde3d8596646c0

https://github.com/vim/vim/commit/9d8ef7cc434076dfda62ca3d3101eaae52e316cd

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
+1 -1
View File
@@ -26,7 +26,7 @@ if has('unix') && executable('less')
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword<'
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif