zeertzjq
269dd747b6
refactor(defaults)!: change default 'commentstring' value to empty ( #22862 )
2023-04-02 23:01:48 +08:00
Justin M. Keyes
556f8646c0
refactor(api): consistent VALIDATE messages #22262
...
Problem:
Validation messages are not consistently formatted.
- Parameter names sometimes are NOT quoted.
- Descriptive names (non-parameters) sometimes ARE quoted.
Solution:
Always quote the `name` value passed to a VALIDATE macro _unless_ the
value has whitespace.
2023-02-14 11:19:28 -08:00
Justin M. Keyes
46a87a5d2b
refactor(api): VALIDATE macros #22187
...
Problem:
- API validation involves too much boilerplate.
- API validation errors are not consistently worded.
Solution:
Introduce some macros. Currently these are clumsy, but they at least
help with consistency and avoid some nesting.
2023-02-14 02:19:04 -08:00
dundargoc
615f124003
docs: fix typos ( #21196 )
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Raphael <glephunter@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
2022-11-29 09:45:48 +08:00
kylo252
837360868b
fix(tests): missing clear() #18927
...
This was caught in #18674 since it allows test isolation
2022-06-13 04:05:17 -07:00
zeertzjq
6e414b698c
test: unskip tests on Windows ( #18600 )
...
Remove the command('qall!') from mksession_spec.lua because it prevents
helpers.rmdir() from retrying.
Allow extra trailing spaces when matching terminal lines.
2022-05-18 12:57:04 +08:00
zeertzjq
f49699737c
fix(terminal): do not trim whitespace that is actually in the terminal ( #16423 )
2022-05-17 21:09:28 +08:00
zeertzjq
f8b3a1691f
test: use helpers.pending_win32(pending) in buffer_updates_spec
2022-03-03 16:07:39 +08:00
zeertzjq
0545bd2180
test: use helpers.pending_win32(pending) instead of iswin()
2022-02-26 19:40:11 +08:00
Dundar Göc
82c5a02050
ci: skip tests that fail on windows
2022-02-20 10:22:39 +01:00
Gregory Anders
d8ab8cccd0
test: update tests to work with 'hidden'
2021-08-18 12:17:12 -06:00
Justin M. Keyes
7e1c959861
test: Eliminate expect_err
...
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
2019-09-06 17:19:07 -07:00
Björn Linse
f5c56f03bb
api: allow nvim_buf_attach from lua using callbacks
2019-06-04 13:45:20 +02:00
KillTheMule
018e0d5a19
API/buffer-updates: always detach on buf-reload #9643
...
Independently of the 'undoreload' option and the length of the file.
closes #9642
closes #9643
2019-03-01 20:01:50 +01:00
Jan Edmund Lazo
bc5fb82c6d
functionaltest: win: enable diffput,diffget test
2018-10-31 22:55:07 -04:00
Justin M. Keyes
f65a751d82
test: nvim_buf_attach: reduce delay
...
This test is mostly a demo/reference for:
https://github.com/neovim/neovim/issues/8634#issuecomment-400940467
so let's not pay a 1s penalty.
2018-07-02 20:47:28 +02:00
Justin M. Keyes
b4fcf02316
test: nvim_buf_attach response after initial delay
...
ref #8634
2018-07-01 17:31:58 +02:00
Justin M. Keyes
60ef7889a2
test: buffer_updates: 10s timeout
2018-07-01 17:31:00 +02:00
KillTheMule
40911e435e
API: emit nvim_buf_lines_event from :terminal #8616
...
closes #8575
2018-07-01 14:42:56 +02:00
Justin M. Keyes
f85cbea725
Merge #7917 'API: buffer updates'
2018-06-08 10:13:04 +02:00
KillTheMule
333679ad0e
Add empty options dict to buf_attach
2018-05-23 22:07:27 +02:00
KillTheMule
65e7f6f0b9
Rename some more, fixe borked renaming
2018-05-23 22:07:27 +02:00
KillTheMule
0bee3925ab
Send changedtick as first event if buffer contents weren't requested
2018-05-23 22:07:27 +02:00
KillTheMule
ad151847f1
Unify updates_start and updates to lines_event
...
Also rename changedtick -> changedtick_event
2018-05-23 22:07:27 +02:00
KillTheMule
3866137eed
Update test
2018-05-23 22:07:27 +02:00
KillTheMule
e7451f8a91
Some renamings and doc changes
2018-05-23 22:07:27 +02:00
KillTheMule
de5d1e863c
Try fixing that test on travis
2018-05-23 22:07:27 +02:00
KillTheMule
5aa8af7cdb
Increase sendkeys timeout
2018-05-23 22:07:27 +02:00
KillTheMule
6bdcbef2f5
The grand renaming
2018-05-23 22:07:27 +02:00