diff options
| author | gbprod <contact@gb-prod.fr> | 2022-10-07 11:08:29 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-10-10 23:01:22 +0200 |
| commit | 3096e637c8d78fd9e9078f752dce2da2cc6d531e (patch) | |
| tree | 479090086199f1acae4fce4d1ab90571047ac03e /tests/indent/php_spec.lua | |
| parent | feat(swift): sync highlight queries with upstream (diff) | |
| download | nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar.gz nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar.bz2 nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar.lz nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar.xz nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.tar.zst nvim-treesitter-3096e637c8d78fd9e9078f752dce2da2cc6d531e.zip | |
fix(php): add indent for enums
Diffstat (limited to 'tests/indent/php_spec.lua')
| -rw-r--r-- | tests/indent/php_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indent/php_spec.lua b/tests/indent/php_spec.lua index d0b08aa6c..a826d0aa6 100644 --- a/tests/indent/php_spec.lua +++ b/tests/indent/php_spec.lua @@ -23,5 +23,6 @@ describe("indent PHP:", function() run:new_line("issue-2497.php", { on_line = 5, text = "$a =", indent = 4 }) run:new_line("unfinished-call.php", { on_line = 6, text = "$a =", indent = 0 }) run:new_line("issue-3591.php", { on_line = 4, text = "$a =", indent = 8 }) + run:new_line("enum-indent.php", { on_line = 4, text = "case", indent = 4 }) end) end) |
