Skip to content

Commit

Permalink
Merge pull request rxi#54 from BenStigsen/patch-1
Browse files Browse the repository at this point in the history
Extend language_v syntax
  • Loading branch information
franko authored Aug 18, 2021
2 parents 047f83e + 10c5aef commit e12bb22
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions plugins/language_v.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ syntax.add {
["lock"] = "keyword",
["match"] = "keyword",
["module"] = "keyword",
["mut"] = "keyword2",
["or"] = "keyword",
["pub"] = "keyword",
["return"] = "keyword",
Expand All @@ -59,11 +58,30 @@ syntax.add {
["union"] = "keyword",
["unsafe"] = "keyword",
["__offsetof"] = "keyword",



["mut"] = "keyword2",
["i8"] = "keyword2",
["i16"] = "keyword2",
["int"] = "keyword2",
["i64"] = "keyword2",
["i128"] = "keyword2",
["u8"] = "keyword2",
["u16"] = "keyword2",
["u32"] = "keyword2",
["u64"] = "keyword2",
["u128"] = "keyword2",
["f32"] = "keyword2",
["f64"] = "keyword2",
["map"] = "keyword2",
["string"] = "keyword2",
["voidptr"] = "keyword2",
["byte"] = "keyword2",
["rune"] = "keyword2",
["chan"] = "keyword2",
["char"] = "keyword2",

["true"] = "literal",
["false"] = "literal",
["none"] = "literal",
},
}

0 comments on commit e12bb22

Please sign in to comment.