Mercurial > vim-unreal
view syntax/unrealcpp.vim @ 8:5cd58b3fd93d
Clean-up project name before setting it, and do proper error reporting.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 26 Jan 2021 12:00:31 -0800 |
parents | ba03cac1b1c6 |
children |
line wrap: on
line source
" Vim syntax file " Language: C++ with Unreal extensions " Maintainer: Ludovic Chabant <https://ludovic.chabant.com> if exists("b:current_syntax") finish endif " Read the C++ syntax to start with runtime! syntax/cpp.vim unlet b:current_syntax " Highlight Class and Function names syn match cCustomParen "(" contains=cParen,cCppParen syn match cCustomFunc "\w\+\s*(" contains=cCustomParen syn match cCustomScope "::" syn match cCustomClass "\w\+\s*::" contains=cCustomScope hi def link cCustomFunc Function hi def link cCustomClass Function