projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various updates for apple
[~madcoder/dotfiles.git]
/
vim
/
syntax
/
c.vim
diff --git
a/vim/syntax/c.vim
b/vim/syntax/c.vim
index
41ac4ad
..
85b3a65
100644
(file)
--- a/
vim/syntax/c.vim
+++ b/
vim/syntax/c.vim
@@
-6,6
+6,7
@@
syn keyword cStatement p_dup p_dupstr p_dupz
syn keyword isGlobal _G
syn match isGlobal "\<[a-zA-Z_][a-zA-Z0-9_]*_g\>"
+syn match isGlobal "\<[gs][A-Z][a-zA-Z0-9_]*\>"
syn keyword cType byte
syn match cFunction "\<\([a-z][a-zA-Z0-9_]*\|[a-zA-Z_][a-zA-Z0-9_]*[a-z][a-zA-Z0-9_]*\)\> *("me=e-1