summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/gpg.vim
diff options
context:
space:
mode:
authorEnno <Konfekt@users.noreply.github.com>2023-08-30 16:37:05 +0200
committerGitHub <noreply@github.com>2023-08-30 16:37:05 +0200
commit9d8ef7cc434076dfda62ca3d3101eaae52e316cd (patch)
tree9c6b73d776f8096e59ad5806e6a5b8bece3a91a3 /runtime/ftplugin/gpg.vim
parenta96d544bc355b1a6021feccf5fa2bd5659bc5269 (diff)
runtime: cleanup :Sman command via the undo_ftplugin mechanism (#12967)
Regards to @dkearns as noticed in https://github.com/vim/vim/commit/2ac708b548660b232a32c52d89bde3d8596646c0 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/ftplugin/gpg.vim')
-rw-r--r--runtime/ftplugin/gpg.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/gpg.vim b/runtime/ftplugin/gpg.vim
index 9e00daed6a..2415555e09 100644
--- a/runtime/ftplugin/gpg.vim
+++ b/runtime/ftplugin/gpg.vim
@@ -27,7 +27,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