Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Alaestor (FGL 2017)
- "credit to stackoverflow's Janosimas and Ragnar
- syn match fgl_cppParen "?=(" contains=cParen,cCppParen
- syn match fgl_cppFunction "\w\+\s*(\@=" contains=fgl_cppParen
- syn match fgl_cppScope "::"
- syn match fgl_cppNamespace "\w\+\s*::" contains=fgl_cppScope
- hi def link fgl_cppFunction Function
- hi def link fgl_cppScope Operator
- hi def link fgl_cppNamespace StorageClass
- "credit to stackoverflow's DrAl (added <= >=)
- syn match fgl_cppOperators display '[-&|+<>=*/!~]\@<!\%(\([-&|+<>=]\)\1\?\|->\|<=\|>=\|[-+*/%&^|!]=\|[*?,!~%]\|\([<>]\)\2=\)[-&|+<>=*/!~]\@!'
- syn match fgl_cppOperators display ';'
- hi link fgl_cppOperators Operator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement