mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
parent
503c99d766
commit
3fbf280e34
3 changed files with 17 additions and 5 deletions
14
tests/indent/php/issue-2497.php
Normal file
14
tests/indent/php/issue-2497.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get(
|
||||
'/',
|
||||
1,
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaa,
|
||||
2
|
||||
);
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue