feat(treesitter): replace nvim-treesitter with pack-managed parsers
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
; SPDX-License-Identifier: Apache-2.0
|
||||
; Source: nvim-treesitter (https://github.com/nvim-treesitter/nvim-treesitter)
|
||||
|
||||
[
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(while_statement)
|
||||
(case_statement)
|
||||
(function_definition)
|
||||
(compound_statement)
|
||||
(subshell)
|
||||
(command_substitution)
|
||||
(do_group)
|
||||
(case_item)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"fi"
|
||||
"done"
|
||||
"esac"
|
||||
"}"
|
||||
")"
|
||||
"then"
|
||||
"do"
|
||||
(elif_clause)
|
||||
(else_clause)
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"fi"
|
||||
"done"
|
||||
"esac"
|
||||
"}"
|
||||
")"
|
||||
] @indent.end
|
||||
Reference in New Issue
Block a user