dundargoc
052498ed42
test: improve test conventions
...
Specifically, functions that are run in the context of the test runner
are put in module `test/testutil.lua` while the functions that are run
in the context of the test session are put in
`test/functional/testnvim.lua`.
Closes https://github.com/neovim/neovim/issues/27004 .
2024-04-23 18:17:04 +02:00
Lewis Russell
81fc27124b
refactor(test): inject after_each differently
2024-04-10 15:53:50 +01:00
dundargoc
7035125b2b
test: improve test conventions
...
Work on https://github.com/neovim/neovim/issues/27004 .
2024-04-08 22:51:00 +02:00
glepnir
a5ade3c63d
fix(snippet): correct indent with newline
...
Problem: snippet newline use before line indent after expand.
Solution: it should level + 1.
2024-03-01 14:35:52 +08:00
Maria José Solano
0fcbda5987
fix(lsp): add snippet regression test ( #27618 )
2024-02-25 11:05:37 +01:00
Maria José Solano
0e9a33572d
fix(lsp): handle adjacent snippet tabstops
2024-02-05 15:03:46 +00:00
zeertzjq
1bc7e18aa8
test(lua/snippet_spec): wait for completion menu ( #27243 )
...
This fixes the flakiness caused by typing a completion menu key when the
completion menu hasn't showed up.
2024-01-28 22:01:25 +08:00
Lewis Russell
7a259d01ae
test: remove helpers.sleep()
2024-01-12 12:04:19 +00:00
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
Maria José Solano
4972c80489
refactor(snippet): rename test utilities
2023-11-17 17:10:27 +01:00
Maria José Solano
7e36c8e972
feat(lsp): support for choice snippet nodes
2023-11-17 17:10:27 +01:00
Maria José Solano
0fe0cf5ada
fix(lsp): do not cancel snippet when selecting placeholder ( #25835 )
2023-10-30 12:58:28 +01:00
Maria José Solano
15983cf2c6
fix(lsp): cancel session when leaving snippet region ( #25762 )
2023-10-26 07:29:05 +02:00
Maria José Solano
94127cb5df
fix(lsp): do not add extra indentation
2023-10-23 17:21:41 +02:00
Maria José Solano
370232dbef
fix(lsp): track snippet deletion
2023-10-23 17:21:41 +02:00
Maria José Solano
f1775da07f
feat(lsp): add snippet API ( #25301 )
2023-10-21 08:51:26 +02:00