aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-01-24 21:16:00 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-05 18:54:55 +0100
commit992926ab99e1c6e929e3a1d2873daac8a193907e (patch)
tree674d95d9e9b53981cd861516fff5fade17c3fe10 /tests/indent/php
parentindent(lua): ignore comment (diff)
downloadnvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar.gz
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar.bz2
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar.lz
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar.xz
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.tar.zst
nvim-treesitter-992926ab99e1c6e929e3a1d2873daac8a193907e.zip
indents(php): add another test
Diffstat (limited to 'tests/indent/php')
-rw-r--r--tests/indent/php/example2.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/php/example2.php b/tests/indent/php/example2.php
new file mode 100644
index 000000000..4f739f813
--- /dev/null
+++ b/tests/indent/php/example2.php
@@ -0,0 +1,6 @@
+<?php
+function()
+{
+ $foo = 'bar';
+ // indentation with `o` is correct
+}