From 394b72473eb46ffd29acc2e48c836ac83efde19d Mon Sep 17 00:00:00 2001 From: Guldoman Date: Wed, 15 Dec 2021 18:20:17 +0100 Subject: [PATCH] Set `void` to `keyword2` in `language_c` and `language_cpp` plugins Move `void` to the same syntax type used by other data types. --- data/plugins/language_c.lua | 2 +- data/plugins/language_cpp.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/plugins/language_c.lua b/data/plugins/language_c.lua index b0a4dec5..88cc7c5a 100644 --- a/data/plugins/language_c.lua +++ b/data/plugins/language_c.lua @@ -44,7 +44,7 @@ syntax.add { ["case"] = "keyword", ["default"] = "keyword", ["auto"] = "keyword", - ["void"] = "keyword", + ["void"] = "keyword2", ["int"] = "keyword2", ["short"] = "keyword2", ["long"] = "keyword2", diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index 8d6aef4b..a945fd1f 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -96,7 +96,7 @@ syntax.add { ["default"] = "keyword", ["auto"] = "keyword", ["const"] = "keyword", - ["void"] = "keyword", + ["void"] = "keyword2", ["int"] = "keyword2", ["short"] = "keyword2", ["long"] = "keyword2",