mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
Format with stylua
This commit is contained in:
parent
a0c5f34504
commit
de1a287c9c
1 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue