Daniel Hahler
1d6e368159
Fix lualint: remove unused var
2019-08-07 14:20:23 +02:00
Daniel Hahler
4f148edd75
tests: more cleanup of plugin/shada_spec
...
Ref: https://github.com/neovim/neovim/pull/10701/commits/330a6713#r311005754
Closes https://github.com/neovim/neovim/pull/10710 .
2019-08-07 12:47:21 +02:00
Justin M. Keyes
330a6713bf
test: Eliminate plugin/helpers.lua
2019-08-05 23:55:57 +02:00
Jan Edmund Lazo
4abed17496
functionaltest: win: enable shada FileWriteCmd
2018-10-31 22:55:07 -04:00
Justin M. Keyes
f8010ea3ec
test: robust cleanup, unique filenames #7950 ( #7950 )
...
Use unique filenames to avoid test conflicts.
Use read_file() instead of io.popen(), to ensures the file is closed.
Use helpers.rmdir(), it is far more robust than lfs.
closes #7911
2018-02-01 03:12:37 +01:00
Justin M. Keyes
59888b68ab
Merge #7623 'man.vim: highlight bold, underlined text'
2018-01-09 10:10:22 +01:00
Jan Edmund Lazo
7311fb7cad
win: enable more functional tests
...
- plugin/shada_spec.lua: Use \r\n as Windows EOL for tests on
BufWriteCmd, FileWriteCmd, FileAppendCmd. Alternative is 'set
fileformat=unix'.
2018-01-06 17:47:00 +01:00
James McCoy
d67e48379f
test: shada: Replace hard-coded 704 with dynamic version
2017-07-14 06:44:22 -04:00
AdnoC
5908f562df
test: Fix and add cases for unnamed register
...
Also:
Add ru to shada tests with all keys
Add test for unset unnamed and register 0
2017-05-31 13:31:05 -04:00
AdnoC
beca4dc16c
eval/shada: Add testing for unnamed register with setreg and startup
2017-05-31 13:19:08 -04:00
ZyX
24b3b938e8
plugin/shada: Handle NUL characters with intchar correctly
...
Fixes #5482
2017-01-04 15:06:33 +03:00
Björn Linse
1c22cab2fd
api: consistently use nvim_ prefix and update documentation
2016-08-31 21:57:06 +02:00
Rui Abreu Ferreira
39c628d031
Mark some functional tests as pending in Windows
2016-08-26 08:21:41 +01:00
ZyX
ff470bb853
functests: Check logs in lua code
...
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
2016-06-10 21:50:49 +03:00
Thiago de Arruda
c18d5917e3
Update lua client to 0.0.1-24
...
The new version of the lua client uses libmpack as a backend, and some test
scripts had to be updated to reflect that.
2016-04-13 09:21:32 -03:00
Björn Linse
8eb8ebf905
tests: update tests to use [gs]et_lines instead of [gs]et_line_slice
2016-04-01 11:29:51 +02:00
Marco Hinz
483d4abee7
Test: remove artifacts from root directory
...
The tests would leave the following test files in the root directory:
Xtest-functional-plugin-shada.shada
Xtest-functional-plugin-shada.shada.tmp.f
Clean them up in teardown().
2015-12-01 20:46:13 +01:00
Felipe Morales
80cf03602e
Merge pull request #3581 from ZyX-I/fix-shada
...
Store last search direction when writing ShaDa files
2015-11-23 23:03:29 +01:00
ZyX
b98cea909f
shada: Also store last search direction
...
Note: it looks like viminfo files do not store search direction intentionally.
After reading viminfo file search direction was considered to be “forward”.
Note 2: all files created on earlier Neovim version will automatically receive
“forward” direction.
Fixes #3580
2015-11-23 17:08:01 +03:00
Marco Hinz
d9fbc1865b
test/functional: clean up according to luacheck (part 2)
2015-11-23 13:57:21 +01:00
ZyX
ae0576a472
runtime: Add shada.vim syntax file
2015-11-01 21:27:28 +03:00
ZyX
9037a180de
runtime: Add [ft]plugin/shada.vim files that automatically open .shada
2015-11-01 21:27:28 +03:00
ZyX
8d9063bb2a
runtime: Add autoload/shada.vim helper file
...
Contains most of the logic
2015-11-01 21:27:28 +03:00