aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php_spec.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-12 23:12:07 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-13 12:19:54 +0100
commit3fbf280e349cfbac26fd6069f40c4d727ccd3c88 (patch)
treec253bc0e732bef6c24fd67571a1bc6d920bc767c /tests/indent/php_spec.lua
parenttypo fix (diff)
downloadnvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar.gz
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar.bz2
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar.lz
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar.xz
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.tar.zst
nvim-treesitter-3fbf280e349cfbac26fd6069f40c4d727ccd3c88.zip
indents(php): don't use aligned_indent for php
Fixes #2497
Diffstat (limited to 'tests/indent/php_spec.lua')
-rw-r--r--tests/indent/php_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indent/php_spec.lua b/tests/indent/php_spec.lua
index 0620c5ea6..e2655b83f 100644
--- a/tests/indent/php_spec.lua
+++ b/tests/indent/php_spec.lua
@@ -20,5 +20,6 @@ describe("indent PHP:", function()
"example2.php",
{ on_line = 5, text = "indendation with `enter` in insert mode is not correct", indent = 4 }
)
+ run:new_line("issue-2497.php", { on_line = 5, text = "$a =", indent = 4 })
end)
end)