mirror of
https://github.com/neovim/neovim.git
synced 2026-06-25 12:45:40 +00:00
Merge pull request #26477 from neovim/backport-26476-to-release-0.9
[Backport release-0.9] vim-patch:ff0baca86523
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
" Language: C++
|
||||
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
|
||||
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
|
||||
" Last Change: 2021 Aug 23
|
||||
" Last Change: 2023 Dec 08
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -15,6 +15,7 @@ let b:filetype_in_cpp_family = 1
|
||||
" Read the C syntax to start with
|
||||
runtime! syntax/c.vim
|
||||
unlet b:current_syntax
|
||||
unlet b:filetype_in_cpp_family
|
||||
|
||||
" C++ extensions
|
||||
syn keyword cppStatement new delete this friend using
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: squirrel
|
||||
" Current Maintainer: Matt Dunford (zenmatic@gmail.com)
|
||||
" URL: https://github.com/zenmatic/vim-syntax-squirrel
|
||||
" Last Change: 2021 Nov 28
|
||||
" Last Change: 2023 Dec 08
|
||||
|
||||
" http://squirrel-lang.org/
|
||||
|
||||
@@ -17,6 +17,7 @@ let b:filetype_in_cpp_family = 1
|
||||
" Read the C syntax to start with
|
||||
runtime! syntax/c.vim
|
||||
unlet b:current_syntax
|
||||
unlet b:filetype_in_cpp_family
|
||||
|
||||
" squirrel extensions
|
||||
syn keyword squirrelStatement delete this in yield resume base clone
|
||||
|
||||
Reference in New Issue
Block a user