indents(lua): use (comment) @auto

This commit is contained in:
Stephan Seitz 2022-02-05 13:49:21 +01:00
parent 693dae241d
commit a14970861c
3 changed files with 1 additions and 10 deletions

View file

@ -37,6 +37,5 @@
] @branch ] @branch
(comment) @auto (comment) @auto
(comment) @ignore
(string) @auto (string) @auto

View file

@ -5,9 +5,3 @@
another another
comment comment
--]] --]]
--[[
another
comment
a bit more indented
--]]

View file

@ -11,9 +11,7 @@ local run = Runner:new(it, "tests/indent/lua", {
describe("indent Lua:", function() describe("indent Lua:", function()
describe("whole file:", function() describe("whole file:", function()
run:whole_file(".", { run:whole_file(".", {
expected_failures = { expected_failures = {},
"./comment.lua",
},
}) })
end) end)