Update generated neovim config
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
; inherits: html
|
||||
|
||||
[
|
||||
(if_statement)
|
||||
(else_if_block)
|
||||
(else_block)
|
||||
(each_statement)
|
||||
(await_statement)
|
||||
(then_block)
|
||||
(catch_block)
|
||||
(key_statement)
|
||||
(snippet_statement)
|
||||
] @fold
|
||||
@ -0,0 +1,42 @@
|
||||
; inherits: html
|
||||
|
||||
(raw_text) @none
|
||||
|
||||
[
|
||||
"as"
|
||||
"key"
|
||||
"html"
|
||||
"snippet"
|
||||
"render"
|
||||
] @keyword
|
||||
|
||||
"const" @type.qualifier
|
||||
|
||||
[
|
||||
"if"
|
||||
"else"
|
||||
"then"
|
||||
] @keyword.conditional
|
||||
|
||||
"each" @keyword.repeat
|
||||
|
||||
[
|
||||
"await"
|
||||
"then"
|
||||
] @keyword.coroutine
|
||||
|
||||
"catch" @keyword.exception
|
||||
|
||||
"debug" @keyword.debug
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"#"
|
||||
":"
|
||||
"/"
|
||||
"@"
|
||||
] @tag.delimiter
|
||||
@ -0,0 +1,34 @@
|
||||
; inherits: html
|
||||
|
||||
[
|
||||
(if_statement)
|
||||
(each_statement)
|
||||
(await_statement)
|
||||
(key_statement)
|
||||
(snippet_statement)
|
||||
] @indent.begin
|
||||
|
||||
(if_end
|
||||
"}" @indent.end)
|
||||
|
||||
(each_end
|
||||
"}" @indent.end)
|
||||
|
||||
(await_end
|
||||
"}" @indent.end)
|
||||
|
||||
(key_end
|
||||
"}" @indent.end)
|
||||
|
||||
(snippet_end
|
||||
"}" @indent.end)
|
||||
|
||||
[
|
||||
(if_end)
|
||||
(else_if_block)
|
||||
(else_block)
|
||||
(each_end)
|
||||
(await_end)
|
||||
(key_end)
|
||||
(snippet_end)
|
||||
] @indent.branch
|
||||
@ -0,0 +1,36 @@
|
||||
; inherits: html_tags
|
||||
|
||||
((style_element
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @_lang)))
|
||||
(raw_text) @injection.content)
|
||||
(#eq? @_attr "lang")
|
||||
(#any-of? @_lang "scss" "postcss" "less")
|
||||
(#set! injection.language "scss"))
|
||||
|
||||
((raw_text) @injection.content
|
||||
(#set! injection.language "javascript"))
|
||||
|
||||
((script_element
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @_lang)))
|
||||
(raw_text) @injection.content)
|
||||
(#eq? @_attr "lang")
|
||||
(#any-of? @_lang "ts" "typescript")
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
((element
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @injection.language)))
|
||||
(text) @injection.content)
|
||||
(#eq? @_attr "lang")
|
||||
(#eq? @injection.language "pug"))
|
||||
@ -0,0 +1 @@
|
||||
; inherits: html
|
||||
Reference in New Issue
Block a user