diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2023-06-28 15:56:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 15:56:44 +0900 |
| commit | 949edb8c5252336b8059a98547d8d1a3ab1e6752 (patch) | |
| tree | 7ecee73525ced768476cac6729e11ea3c6ec3e35 /queries | |
| parent | feat(pem): add parser (diff) | |
| download | nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar.gz nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar.bz2 nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar.lz nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar.xz nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.tar.zst nvim-treesitter-949edb8c5252336b8059a98547d8d1a3ab1e6752.zip | |
indents(fish): Add "end" and "case" (#5029)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/fish/indents.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/queries/fish/indents.scm b/queries/fish/indents.scm index 0a825a13f..526c56e69 100644 --- a/queries/fish/indents.scm +++ b/queries/fish/indents.scm @@ -8,9 +8,11 @@ ] @indent.begin [ - (else_if_clause) - (else_clause) + "else" ; else and else if must both start the line with "else", so tag the string directly + "case" "end" ] @indent.branch +"end" @indent.end + (comment) @indent.ignore |
