on master help sign in
Add Bash indents (#5149)
012fc12gavincrawford
book/src/generated/lang-support.md+1−1
@@ -2,7 +2,7 @@
2| --- | --- | --- | --- | --- |
2| --- | --- | --- | --- | --- |
3| astro | ✓ | | | |
3| astro | ✓ | | | |
4| awk | ✓ | ✓ | | `awk-language-server` |
4| awk | ✓ | ✓ | | `awk-language-server` |
5−| bash | ✓ | | | `bash-language-server` |
5+| bash | ✓ | | ✓ | `bash-language-server` |
6| bass | ✓ | | | `bass` |
6| bass | ✓ | | | `bass` |
7| beancount | ✓ | | | |
7| beancount | ✓ | | | |
8| bibtex | ✓ | | | `texlab` |
8| bibtex | ✓ | | | `texlab` |
runtime/queries/bash/indents.scmnew file+11
@@ -0,0 +1,11 @@
1+[
2+ (function_definition)
3+ (if_statement)
4+ (for_statement)
5+ (case_statement)
6+ (pipeline)
7+] @indent
8+
9+[
10+ "}"
11+] @outdent