Regenerate nvim config
This commit is contained in:
30
config/neovim/store/nvim-treesitter/queries/yuck/indents.scm
Normal file
30
config/neovim/store/nvim-treesitter/queries/yuck/indents.scm
Normal file
@ -0,0 +1,30 @@
|
||||
[
|
||||
(ast_block)
|
||||
(array)
|
||||
(expr)
|
||||
(json_array)
|
||||
(json_object)
|
||||
(parenthesized_expression)
|
||||
] @indent.begin
|
||||
|
||||
; TODO: can't get this to work, goal is to indent at the property ":" prefix
|
||||
; ((list (identifier) (property)) @indent.align
|
||||
; (#set! indent.open_delimiter "(")
|
||||
; (#set! indent.close_delimiter ")"))
|
||||
[
|
||||
")"
|
||||
"}"
|
||||
"]"
|
||||
] @indent.end @indent.branch
|
||||
|
||||
; I do not know what/when this should be added.
|
||||
; Commenting this out for now
|
||||
; [
|
||||
; "("
|
||||
; "{"
|
||||
; "["
|
||||
; ] @indent.branch
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
] @indent.auto
|
||||
Reference in New Issue
Block a user