Add Bash indents (#5149)
This commit is contained in:
parent
436296b76c
commit
012fc12f97
@ -2,7 +2,7 @@
|
||||
| --- | --- | --- | --- | --- |
|
||||
| astro | ✓ | | | |
|
||||
| awk | ✓ | ✓ | | `awk-language-server` |
|
||||
| bash | ✓ | | | `bash-language-server` |
|
||||
| bash | ✓ | | ✓ | `bash-language-server` |
|
||||
| bass | ✓ | | | `bass` |
|
||||
| beancount | ✓ | | | |
|
||||
| bibtex | ✓ | | | `texlab` |
|
||||
|
11
runtime/queries/bash/indents.scm
Normal file
11
runtime/queries/bash/indents.scm
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
(function_definition)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(case_statement)
|
||||
(pipeline)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"}"
|
||||
] @outdent
|
Loading…
Reference in New Issue
Block a user