1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,49 @@
[
(class_body)
(function_body)
(function_expression_body)
(declaration
(initializers))
(switch_block)
(formal_parameter_list)
(formal_parameter)
(list_literal)
(return_statement)
(arguments)
(try_statement)
] @indent.begin
(switch_block
(_) @indent.begin
(#set! indent.immediate 1)
(#set! indent.start_at_same_line 1))
[
(switch_statement_case)
(switch_statement_default)
] @indent.branch
[
"("
")"
"{"
"}"
"["
"]"
] @indent.branch
"}" @indent.end
(return_statement
";" @indent.end)
(break_statement
";" @indent.end)
(comment) @indent.ignore
; dedenting the else block is painfully slow; replace with simpler strategy
; (if_statement) @indent.begin
; (if_statement
; (block) @indent.branch)
(if_statement) @indent.auto