diff --git a/queries/ini/highlights.scm b/queries/ini/highlights.scm new file mode 100644 index 000000000..e14d5a334 --- /dev/null +++ b/queries/ini/highlights.scm @@ -0,0 +1,16 @@ +(section_name + (text) @type) ; consistency with toml +(comment) @comment + +[ + "[" + "]" +] @punctuation.bracket + +[ + "=" +] @operator + +(setting (setting_name) @property) +(setting_value) @text ; grammar does not support subtypes +(ERROR (setting_name) @text)