aboutsummaryrefslogtreecommitdiff
path: root/runtime/synmenu.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-07-26 11:26:23 +0200
committerGitHub <noreply@github.com>2022-07-26 11:26:23 +0200
commit4cbeedf57bf48a00890349f5b4624737f4f3fce6 (patch)
tree6b14b6d3a8b5918109380925e9ef8b20519840ac /runtime/synmenu.vim
parent1a07044c1c828edda3e24828782665947fe68049 (diff)
downloadrneovim-4cbeedf57bf48a00890349f5b4624737f4f3fce6.tar.gz
rneovim-4cbeedf57bf48a00890349f5b4624737f4f3fce6.tar.bz2
rneovim-4cbeedf57bf48a00890349f5b4624737f4f3fce6.zip
vim-patch:b529cfbd04c0 (#19501)
Update runtime files https://github.com/vim/vim/commit/b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d
Diffstat (limited to 'runtime/synmenu.vim')
-rw-r--r--runtime/synmenu.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/synmenu.vim b/runtime/synmenu.vim
index d1e4becb2b..ba9e6a198d 100644
--- a/runtime/synmenu.vim
+++ b/runtime/synmenu.vim
@@ -18,6 +18,10 @@ fun! SetSyn(name)
else
let name = a:name
endif
+ if a:name == "whitespace"
+ " do not replace the filetype but add whitespace on top
+ let name = &ft .. ".whitespace"
+ endif
if !exists("s:syntax_menu_synonly")
exe "set ft=" . name
if exists("g:syntax_manual")