diff options
| author | przepompownia <przepompownia@users.noreply.github.com> | 2022-05-13 22:14:06 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-05-15 14:52:43 +0200 |
| commit | 1cec3899f5b757fc46b4e5a8fbeea764df58c9f0 (patch) | |
| tree | 20537eb3de83ae10e363ab8c3a949ddf4feb47c4 | |
| parent | highlights(cuda): add __grid_constant__ (diff) | |
| download | nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar.gz nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar.bz2 nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar.lz nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar.xz nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.tar.zst nvim-treesitter-1cec3899f5b757fc46b4e5a8fbeea764df58c9f0.zip | |
indents(php): @auto on comment and ERROR
Currently with
```vim
setlocal autoindent
setlocal smartindent
```
in `after/indent/php.vim` it allows correct indentation
inside PHP docblocks.
| -rw-r--r-- | queries/php/indents.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/php/indents.scm b/queries/php/indents.scm index 2247f17ac..d9a356cba 100644 --- a/queries/php/indents.scm +++ b/queries/php/indents.scm @@ -16,6 +16,8 @@ [ (comment) -] @ignore +] @auto (compound_statement "}" @indent_end) + +(ERROR) @auto |
