aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprzepompownia <przepompownia@users.noreply.github.com>2022-05-13 22:14:06 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-05-15 14:52:43 +0200
commit1cec3899f5b757fc46b4e5a8fbeea764df58c9f0 (patch)
tree20537eb3de83ae10e363ab8c3a949ddf4feb47c4
parenthighlights(cuda): add __grid_constant__ (diff)
downloadnvim-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.scm4
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