diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-18 19:55:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-18 19:55:44 +0100 |
commit | 98a29d00a48e15a50e2850e1a29b7d475c531b0c (patch) | |
tree | 8e1d07b83d505258292cc3d8c928d1bf90d4adaa /runtime/syntax/cpp.vim | |
parent | 82aa6e09e02b138ab7ee6b79ecac487813f117e5 (diff) |
Update runtime files.
Diffstat (limited to 'runtime/syntax/cpp.vim')
-rw-r--r-- | runtime/syntax/cpp.vim | 5 |
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 |