Format with stylua

This commit is contained in:
L3MON4D3 2024-05-18 06:37:40 +00:00 committed by github-actions[bot]
parent a0c5f34504
commit de1a287c9c

View file

@ -8,7 +8,7 @@ describe("snippets_basic", function()
before_each(function()
ls_helpers.clear()
ls_helpers.session_setup_luasnip({setup_parsers=true})
ls_helpers.session_setup_luasnip({ setup_parsers = true })
screen = Screen.new(50, 3)
screen:attach()
@ -1613,13 +1613,15 @@ describe("snippets_basic", function()
grid = [[
local function a() ^ end |
{0:~ }|
{2:-- INSERT --} |]]})
{2:-- INSERT --} |]],
})
feed([[asdf]])
exec_lua("ls.expand()")
screen:expect({
grid = [[
local function a() print("qwer")^ end |
{0:~ }|
{2:-- INSERT --} |]]})
{2:-- INSERT --} |]],
})
end)
end)