aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/cpp.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 22:33:02 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 23:19:57 -0400
commit8f8602d2dfc87257c1d72492aa1d285f335bb942 (patch)
tree6c90ee5cadbadf961ac9062b83add9f3f5b8fc41 /runtime/syntax/cpp.vim
parentdd2bc06411a69917c6f4a47d0b6832104efa98e4 (diff)
downloadrneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.tar.gz
rneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.tar.bz2
rneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.zip
vim-patch:98a29d00a48e
Update runtime files. https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c
Diffstat (limited to 'runtime/syntax/cpp.vim')
-rw-r--r--runtime/syntax/cpp.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/syntax/cpp.vim b/runtime/syntax/cpp.vim
index 53b6a513f2..ed38913f29 100644
--- a/runtime/syntax/cpp.vim
+++ b/runtime/syntax/cpp.vim
@@ -2,13 +2,16 @@
" Language: C++
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
-" Last Change: 2019 Dec 18
+" Last Change: 2021 Jan 12
" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
+" inform C syntax that the file was included from cpp.vim
+let b:filetype_in_cpp_family = 1
+
" Read the C syntax to start with
runtime! syntax/c.vim
unlet b:current_syntax