diff options
Diffstat (limited to 'config/nvim/after/queries/kotlin/highlights.scm')
| -rw-r--r-- | config/nvim/after/queries/kotlin/highlights.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config/nvim/after/queries/kotlin/highlights.scm b/config/nvim/after/queries/kotlin/highlights.scm new file mode 100644 index 0000000..17d061d --- /dev/null +++ b/config/nvim/after/queries/kotlin/highlights.scm @@ -0,0 +1,24 @@ +;; vim: ft=query +;; extends +(function_declaration + (simple_identifier) @AlabasterDefinition) + +(class_declaration + (type_identifier) @AlabasterDefinition) + +(object_declaration + (type_identifier) @AlabasterDefinition) + +(string_literal) @AlabasterString + +(boolean_literal) @AlabasterConstant +(integer_literal) @AlabasterConstant +(long_literal) @AlabasterConstant +(unsigned_literal) @AlabasterConstant +(real_literal) @AlabasterConstant + +(line_comment) @AlabasterHashbang +(multiline_comment) @Comment + + +(modifiers (annotation (user_type (type_identifier) @AlabasterPunctuation))) |
