From 95d82fdb668b746ac100a8b7d2aca38038150707 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 29 Dec 2020 19:44:40 +0100 Subject: Update --- after/syntax/c.vim | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'after/syntax/c.vim') diff --git a/after/syntax/c.vim b/after/syntax/c.vim index 2c2762eb..a8f7f416 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim @@ -6,13 +6,9 @@ endif " Vim syntax file " Language: C Additions " Original Author: Mikhail Wolfson -" http://www.vim.org/scripts/script.php?script_id=3064 -" Maintainer: bfrg +" Maintainer: bfrg " Website: https://github.com/bfrg/vim-cpp-modern -" Last Change: Oct 23, 2020 -" -" Extended C syntax highlighting including highlighting of user-defined -" functions. +" Last Change: Nov 23, 2020 " " This syntax file is based on: " https://github.com/octol/vim-cpp-enhanced-highlight @@ -63,8 +59,8 @@ hi def link cAnsiName Identifier " Highlight all standard C keywords as Statement " This is very similar to what other IDEs and editors do if get(g:, 'cpp_simple_highlight', 0) - hi link cStorageClass Statement - hi link cStructure Statement - hi link cTypedef Statement - hi link cLabel Statement + hi! def link cStorageClass Statement + hi! def link cStructure Statement + hi! def link cTypedef Statement + hi! def link cLabel Statement endif -- cgit v1.2.3