diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-09 07:45:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 07:45:31 +0800 |
commit | f45bf44176461992e7ed7c381aa9750e8955517f (patch) | |
tree | 77ef90780afe88321f2f780cefd45c1a40424628 /test/functional/vimscript/system_spec.lua | |
parent | b8e227b621468a6ce968f631e4b933f7c12e6955 (diff) | |
download | rneovim-f45bf44176461992e7ed7c381aa9750e8955517f.tar.gz rneovim-f45bf44176461992e7ed7c381aa9750e8955517f.tar.bz2 rneovim-f45bf44176461992e7ed7c381aa9750e8955517f.zip |
vim-patch:ff0baca86523 (#26476)
runtime(syntax): unlet b:filetype_in_cpp_family for cpp & squirrel
Update runtime/syntax/cpp.vim and runtime/syntax/squirrel.vim to unlet
b:filetype_in_cpp_family as it remains set even after updating the ft of
a file manually or through a modeline, not allowing c specific keywords
to be highlighted.
Since the variable b:filetype_in_cpp_family is only used by the c.vim
syntax script, unlet it directly after sourcing the c.vim runtime file
instead of at the end of the script.
Also update the last Change Header for both files.
closes: vim/vim#13650
https://github.com/vim/vim/commit/ff0baca86523f1e8c6ea593ec0ef2f9860f001d0
Co-authored-by: laburnumT <laburnumtec@gmail.com>
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions