Added `union`, `short` and `long` keywords to .c syntax
This commit is contained in:
parent
2eab24032b
commit
42f7f81188
|
@ -106,6 +106,7 @@ syntax.add {
|
||||||
["return"] = "keyword",
|
["return"] = "keyword",
|
||||||
["goto"] = "keyword",
|
["goto"] = "keyword",
|
||||||
["struct"] = "keyword",
|
["struct"] = "keyword",
|
||||||
|
["union"] = "keyword",
|
||||||
["typedef"] = "keyword",
|
["typedef"] = "keyword",
|
||||||
["enum"] = "keyword",
|
["enum"] = "keyword",
|
||||||
["extern"] = "keyword",
|
["extern"] = "keyword",
|
||||||
|
@ -120,6 +121,8 @@ syntax.add {
|
||||||
["const"] = "keyword",
|
["const"] = "keyword",
|
||||||
["void"] = "keyword",
|
["void"] = "keyword",
|
||||||
["int"] = "keyword2",
|
["int"] = "keyword2",
|
||||||
|
["short"] = "keyword2",
|
||||||
|
["long"] = "keyword2",
|
||||||
["float"] = "keyword2",
|
["float"] = "keyword2",
|
||||||
["double"] = "keyword2",
|
["double"] = "keyword2",
|
||||||
["char"] = "keyword2",
|
["char"] = "keyword2",
|
||||||
|
|
Loading…
Reference in New Issue