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

Regards to @dkearns as noticed in
2ac708b548

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Enno
2023-08-30 16:37:05 +02:00
committed by GitHub
parent a96d544bc3
commit 9d8ef7cc43
9 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,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