Add indents.scm for Julia (#6490)
* Add indents.scm for Julia * Update documentation for new indent support
This commit is contained in:
parent
fc9229c846
commit
d284444eb4
2 changed files with 17 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
|||
| json | ✓ | | ✓ | `vscode-json-language-server` |
|
||||
| jsonnet | ✓ | | | `jsonnet-language-server` |
|
||||
| jsx | ✓ | ✓ | ✓ | `typescript-language-server` |
|
||||
| julia | ✓ | | | `julia` |
|
||||
| julia | ✓ | | ✓ | `julia` |
|
||||
| kdl | ✓ | | | |
|
||||
| kotlin | ✓ | | | `kotlin-language-server` |
|
||||
| latex | ✓ | ✓ | | `texlab` |
|
||||
|
|
16
runtime/queries/julia/indents.scm
Normal file
16
runtime/queries/julia/indents.scm
Normal file
|
@ -0,0 +1,16 @@
|
|||
[
|
||||
(struct_definition)
|
||||
(macro_definition)
|
||||
(function_definition)
|
||||
(compound_expression)
|
||||
(let_statement)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(while_statement)
|
||||
(do_clause)
|
||||
(parameter_list)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"end"
|
||||
] @outdent
|
Loading…
Add table
Reference in a new issue