aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/shada_spec.lua
Commit message (Collapse)AuthorAge
* test: don't unnecessarily specify win/buf for `nvim_(get|set)_option_value`Famiu Haque2023-05-22
| | | | `nvim_(get|set)_option_value` pick the current buffer / window by default for buffer-local/window-local (but not global-local) options. So specifying `buf = 0` or `win = 0` in opts is unnecessary for those options. This PR removes those to reduce code clutter.
* refactor(options): deprecate nvim[_buf|_win]_[gs]et_optionLewis Russell2023-05-21
| | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: famiu <famiuhaque@protonmail.com>
* test: fix dependencies between test cases (#23343)zeertzjq2023-04-27
| | | Discovered using --shuffle argument of busted.
* test: simplify platform detection (#21020)dundargoc2022-11-22
| | | | | Extend the capabilities of is_os to detect more platforms such as freebsd and openbsd. Also remove `iswin()` helper function as it can be replaced by `is_os("win")`.
* test(shada): fix shada syntax definitions testbfredl2022-10-05
| | | | | | These tests contained errors due to synstack() and friends do not ensure syntax state is fully synced. Actually expecting what the user will see with a screen test does ensure it is fully synced.
* feat(lua): add api and lua autocmdsTJ DeVries2022-02-27
|
* test: update tests to work with 'hidden'Gregory Anders2021-08-18
|
* test/shada_spec: avoid exit_event race #10951Justin M. Keyes2019-09-05
| | | | | | | | | Doing clear() multiple times in quick succession provokes the `exit_event` race described in #8813. - Avoid it by removing unnecessary reset() call. - Replace unnecessary nested describe() blocks with it() blocks. ref d4a0b6c4e1d7
* tests: assert:set_parameter('TableFormatLevel', 100) #10925Daniel Hahler2019-09-03
| | | | | | luassert uses 3 by default, which is often not enough. Instead of documenting how to increase it, let's use a more fitting (sane) default of 100 levels.
* Fix lualint: remove unused varDaniel Hahler2019-08-07
|
* tests: more cleanup of plugin/shada_specDaniel Hahler2019-08-07
| | | | | Ref: https://github.com/neovim/neovim/pull/10701/commits/330a6713#r311005754 Closes https://github.com/neovim/neovim/pull/10710.
* test: Eliminate plugin/helpers.luaJustin M. Keyes2019-08-05
|
* functionaltest: win: enable shada FileWriteCmdJan Edmund Lazo2018-10-31
|
* test: robust cleanup, unique filenames #7950 (#7950)Justin M. Keyes2018-02-01
| | | | | | | 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
* Merge #7623 'man.vim: highlight bold, underlined text'Justin M. Keyes2018-01-09
|\
* | win: enable more functional testsJan Edmund Lazo2018-01-06
|/ | | | | | - plugin/shada_spec.lua: Use \r\n as Windows EOL for tests on BufWriteCmd, FileWriteCmd, FileAppendCmd. Alternative is 'set fileformat=unix'.
* test: shada: Replace hard-coded 704 with dynamic versionJames McCoy2017-07-14
|
* test: Fix and add cases for unnamed registerAdnoC2017-05-31
| | | | | | | | Also: Add ru to shada tests with all keys Add test for unset unnamed and register 0
* eval/shada: Add testing for unnamed register with setreg and startupAdnoC2017-05-31
|
* plugin/shada: Handle NUL characters with intchar correctlyZyX2017-01-04
| | | Fixes #5482
* api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
|
* Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
|
* functests: Check logs in lua codeZyX2016-06-10
| | | | | | 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.
* Update lua client to 0.0.1-24Thiago de Arruda2016-04-13
| | | | | The new version of the lua client uses libmpack as a backend, and some test scripts had to be updated to reflect that.
* tests: update tests to use [gs]et_lines instead of [gs]et_line_sliceBjörn Linse2016-04-01
|
* Test: remove artifacts from root directoryMarco Hinz2015-12-01
| | | | | | | | | 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().
* Merge pull request #3581 from ZyX-I/fix-shadaFelipe Morales2015-11-23
|\ | | | | Store last search direction when writing ShaDa files
| * shada: Also store last search directionZyX2015-11-23
| | | | | | | | | | | | | | | | | | | | 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
* | test/functional: clean up according to luacheck (part 2)Marco Hinz2015-11-23
|/
* runtime: Add shada.vim syntax fileZyX2015-11-01
|
* runtime: Add [ft]plugin/shada.vim files that automatically open .shadaZyX2015-11-01
|
* runtime: Add autoload/shada.vim helper fileZyX2015-11-01
Contains most of the logic