1
Files
flake-nixinator/config/neovim/store/nvim-treesitter/queries/slang/highlights.scm

47 lines
478 B
Scheme

; inherits: hlsl
[
"var"
"let"
"This"
] @type.builtin
[
"interface"
"extension"
"property"
"associatedtype"
"where"
] @keyword
"__init" @constructor
[
"__subscript"
"get"
"set"
] @function.builtin
(interface_requirements
(identifier) @type)
(binary_expression
[
"is"
"as"
]
right: (identifier) @type)
[
"as"
"is"
] @keyword.operator
[
"__exported"
"import"
] @keyword.import
(property_declaration
(identifier) @property)