aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/udevrules.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-30 18:16:30 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-08-30 18:46:52 +0200
commitb2c3e9c72ef12a5bc276dec78cdc8dfbd2f5a24b (patch)
tree636eb35a54fb676e3d7b0331c3ead159b6e5ad8f /runtime/ftplugin/udevrules.vim
parent670c7609c85547ef041af8cf17139a396d6af050 (diff)
downloadrneovim-b2c3e9c72ef12a5bc276dec78cdc8dfbd2f5a24b.tar.gz
rneovim-b2c3e9c72ef12a5bc276dec78cdc8dfbd2f5a24b.tar.bz2
rneovim-b2c3e9c72ef12a5bc276dec78cdc8dfbd2f5a24b.zip
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>
Diffstat (limited to 'runtime/ftplugin/udevrules.vim')
-rw-r--r--runtime/ftplugin/udevrules.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/udevrules.vim b/runtime/ftplugin/udevrules.vim
index bde9c5dfa0..83fb728a54 100644
--- a/runtime/ftplugin/udevrules.vim
+++ b/runtime/ftplugin/udevrules.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