mirror of https://github.com/helix-editor/helix
parent
549cdee561
commit
3f0345ff58
@ -0,0 +1 @@
|
||||
Subproject commit 88408ffc5e27abcffced7010fc77396ae3636d7e
|
@ -0,0 +1 @@
|
||||
; inherits: c
|
@ -0,0 +1,37 @@
|
||||
; inherits: c
|
||||
|
||||
[
|
||||
"in"
|
||||
"out"
|
||||
"inout"
|
||||
"uniform"
|
||||
"shared"
|
||||
"layout"
|
||||
"attribute"
|
||||
"varying"
|
||||
"buffer"
|
||||
"coherent"
|
||||
"readonly"
|
||||
"writeonly"
|
||||
"precision"
|
||||
"highp"
|
||||
"mediump"
|
||||
"lowp"
|
||||
"centroid"
|
||||
"sample"
|
||||
"patch"
|
||||
"smooth"
|
||||
"flat"
|
||||
"noperspective"
|
||||
"invariant"
|
||||
"precise"
|
||||
] @keyword
|
||||
|
||||
"subroutine" @keyword.function
|
||||
|
||||
(extension_storage_class) @attribute
|
||||
|
||||
(
|
||||
(identifier) @variable.builtin
|
||||
(#match? @variable.builtin "^gl_")
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
indent = [
|
||||
"init_declarator",
|
||||
"compound_statement",
|
||||
"preproc_arg",
|
||||
"field_declaration_list",
|
||||
"case_statement",
|
||||
"conditional_expression",
|
||||
"enumerator_list",
|
||||
"struct_specifier",
|
||||
"compound_literal_expression"
|
||||
]
|
||||
|
||||
outdent = [
|
||||
"#define",
|
||||
"#ifdef",
|
||||
"#endif",
|
||||
"{",
|
||||
"}"
|
||||
]
|
@ -0,0 +1,3 @@
|
||||
(preproc_arg) @glsl
|
||||
|
||||
(comment) @comment
|
@ -0,0 +1 @@
|
||||
; inherits: c
|
Loading…
Reference in New Issue