neovim/runtime
zeertzjq 22ea5ec166 vim-patch:ff0baca86523
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

ff0baca865

Co-authored-by: laburnumT <laburnumtec@gmail.com>
(cherry picked from commit 6333be96ca)
2023-12-08 23:45:48 +00:00
..
autoload fix(clipboard): don't pass --foreground to wl-copy 2023-10-03 03:24:53 +00:00
colors fix(runtime): use g:terminal_color_{0-15} in colorschemes (#20637) 2022-10-17 15:24:37 +01:00
compiler vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
doc [Backport release-0.9] fix: vim.treesitter.get_node() now correctly takes opts.lang (#26382) 2023-12-04 10:03:55 +01:00
ftplugin fix(runtime): add commentstring for D ftplugin 2023-09-25 22:14:18 +00:00
indent vim-patch:partial:dd60c365cd26 (#22437) 2023-02-28 09:34:27 +01:00
keymap
lua [Backport release-0.9] fix: vim.treesitter.get_node() now correctly takes opts.lang (#26382) 2023-12-04 10:03:55 +01:00
macros
pack/dist/opt fix(termdebug): handle partial lines passed to callback 2023-04-08 11:28:14 +00:00
plugin fix: dont create data dir if it's a broken symlink 2023-11-28 11:27:28 +00:00
queries fix(treesitter): remove incompatible c query (again) 2023-12-07 22:39:47 +01:00
spell
syntax vim-patch:ff0baca86523 2023-12-08 23:45:48 +00:00
tools
tutor docs(tutor): clarify the meaning of ✗ and ✓ 2023-09-17 00:51:46 +00:00
bugreport.vim
CMakeLists.txt refactor(build): make installation of runtime/ more effective 2023-03-07 20:16:52 +01:00
delmenu.vim
filetype.lua [Backport release-0.9] fix(filetype): make sure buffer is valid before call nvim_buf_call (#24950) 2023-08-30 12:21:01 -05:00
ftoff.vim
ftplugin.vim fix(ftplugin): respect runtimepath ordering 2023-06-30 10:22:24 +00:00
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim feat!: remove hardcopy 2023-01-03 10:07:43 +00:00
mswin.vim
neovim.ico feat(windows): show icon in terminal titlebar, taskbar #20607 2022-10-13 05:48:12 -07:00
nvim.appdata.xml NVIM 0.9.4 2023-10-09 22:38:17 +02:00
nvim.desktop
nvim.png
optwin.vim feat(options)!: deprecate paste, remove pastetoggle (#22647) 2023-03-13 10:29:11 +08:00
synmenu.vim vim-patch:3c053a1a5ad2 (#20679) 2022-10-17 08:19:48 +02:00