mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
@ -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")
|
||||
|
Reference in New Issue
Block a user