diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
commit | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (patch) | |
tree | dc432e1b5129a6cdddf67ae6468e72315a0452b6 /runtime/synmenu.vim | |
parent | cd6ad6439da2ee2d1a8a6934c9d69e9c2664ba55 (diff) | |
download | vim-git-b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/synmenu.vim')
-rw-r--r-- | runtime/synmenu.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/synmenu.vim b/runtime/synmenu.vim index 06e37258e..dd191d829 100644 --- a/runtime/synmenu.vim +++ b/runtime/synmenu.vim @@ -13,6 +13,10 @@ def SetSyn(name: string) g:use_fvwm_2 = name == "fvwm2" filetype = "fvwm" endif + if name == "whitespace" + " do not replace the filetype but add whitespace on top + filetype = &ft .. ".whitespace" + endif if !exists("s:syntax_menu_synonly") exe "set ft=" .. filetype if exists("g:syntax_manual") |