aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | Merge pull request #13813 from notomo/fix-nvim-echo-clearBjörn Linse2021-01-22
|\ \ | | | | | | api(echo): should clear cmdline before echo
| * | api(echo): should clear cmdline before echonotomo2021-01-21
| | |
* | | Merge pull request #13679 from chentau/gravityBjörn Linse2021-01-22
|\ \ \ | |/ / |/| | Extmarks api: allow for gravity
| * | forgot to update testschentau2021-01-05
| | |
| * | allow for extmark gravity to be set through apichentau2021-01-03
| | |
* | | api: nvim_echonotomo2021-01-20
| |/ |/|
* | Merge pull request #13765 from jvgrootveld/ts-default-start-end-row-on-captureThomas Vigouroux2021-01-20
|\ \ | | | | | | treesitter: default start and end row when omitted
| * | treesitter: default start and end row when omitted“jvgrootveld”2021-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for default start and end row when omitted in the query:iter_captures and query:iter_matches functions. When the start and end row values are omitted, the values of the given node is used. The end row value is incremented by 1 to include the node end row in the match. Updated tests and docs accordingly.
* | | LSP: Fix nil settings handling in workspace/configuration (#13708)Mathias Fußenegger2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `workspace/configuration` handler could fail with the following error if `config.settings` is nil: runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)" This ensures that `config.settings` is always initialized to an empty table.
* | | logs: make kXDGCacheHome if it doesn't exist (#13758)Michael Lingelbach2021-01-16
|/ /
* | logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
| | | | | | | | | | while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
* | lsp: Add severity_limit for other diagnostics features (#13528)TJ DeVries2021-01-12
| | | | | | | | | | | | | | | | | | | | | | * lsp: Add severity_limit for other diagnostics * docs and tests * fix: lint * Add to other types * fix: lint
* | fix(lsp): Allow subsequent text document edits to pass (#13534)TJ DeVries2021-01-11
| | | | | | | | | | | | | | * fix: Allow subsequent text document edits to pass * fixup: cleaner code * add tests
* | Use uv_os_homedir and current directory as backup when $HOME is not set (#13657)ffanzhang2021-01-10
| | | | | | | | | | | | Close https://github.com/neovim/neovim/issues/8614 Use uv_os_homedir and current directory as backup if HOME env is not set. Allocate homedir only if var is not NULL.
* | test/old: restore test_backspace_opt.vimJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | | | Porting it to test/functional/legacy/backspace_opt_spec.lua was a mistake. Tests pass after commenting out some lines for Vi compatibility. File is copied from Vim as of patch v8.2.0540. Patch v8.2.0540 cannot be fully ported yet. This file is a prequisite for future v8.2.x patches.
* | input: consider "-- more --" state to be blocking, fixes #11899Björn Linse2021-01-04
| |
* | fix: check for valid buffer handles in modify_keymap (#13543)Thomas Vigouroux2021-01-03
| | | | | | | | Fixes #13541 Neovim would crash when trying to map a key on non existant buffer
* | buffer updates: mark sorted region as changed.Björn Linse2021-01-03
| | | | | | | | | | NB: currently this invalidates all extmarks inside the region. Later on within-line extmarks could be preserved
* | tests: make treesitter its own categoryBjörn Linse2021-01-03
| |
* | Merge pull request #13649 from mjlbach/move_from_nvim-lspconfigMatthieu Coudron2021-01-01
|\ \ | | | | | | LSP: Move workspace/configuration from nvim-lspconfig to core
| * | LSP: add test for workspace/configuration handlerMichael Lingelbach2021-01-01
| | |
* | | Merge pull request #13655 from janlazo/vim-8.2.2255Jan Edmund Lazo2021-01-01
|\ \ \ | |_|/ |/| | vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
| * | test/win: skip vargs memory usage on Github ActionsJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | This test can fail on any of the Windows builds because Github Actions does not provide enough stability and enough memory for all runners.. Check test requirements before running any test cases to avoid duplicate checks.
| * | test, legacy/assert_spec.lua: fix few tests failerw72021-01-01
| | | | | | | | | | | | | | | Adjust failing tests to current behavior due to changes in assert_fails behavior by fbd6a86.
| * | test, provider/define_spec.lua: fix few tests failerw72021-01-01
| |/ | | | | | | | | fbd6a86 changes the behavior of :command-range and no longer allows arbitrary numbers. Adjust tests to reflect this behavior.
* | Merge pull request #11833 from bfredl/set_textBjörn Linse2021-01-01
|\ \ | | | | | | nvim_buf_set_text
| * | api: set_text: fix some byte count issuesBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | add byte count tests update documentation
| * | api: set_text: more tests, and fixing lintchentau2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | removing pending virtcol tests Allow passing in empty array as a shorthand for array with empty string; add more documentation add check for start_row as well
| * | api: set_text: rebase, update to new api, and add more testsTony Chen2021-01-01
| | |
| * | api: set_text: fix validation and some issuesBlaž Hrastnik2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix double free because intermediary lines weren't xmemdup'd. NL-for-NUL dance. Normalize row indices and perform more validation. Adjust the cursor position if it's on the right side of the replacement. Tests and documentation.
* | | Merge pull request #13592 from bfredl/setmouseBjörn Linse2021-01-01
|\ \ \ | |_|/ |/| | ui: make 'mouse' handling in external UI more consistent
| * | ui: make 'mouse' handling in external UI more consistentBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change.
* | | Revert "vim-patch:8.1.0822: peeking and flushing output slows down execution"Jan Edmund Lazo2020-12-31
| | | | | | | | | | | | This reverts commit 0519a75f6eca1065a4d0184f99c71ae03a99b9b1.
* | | Revert "vim-patch:8.1.1192: mode is not cleared when leaving Insert mode ↵Jan Edmund Lazo2020-12-31
| | | | | | | | | | | | | | | | | | | | | | | | with mapped Esc" This reverts commit 44bb7147e40743d9a70ee3a2663a7a7dacec7b13. Avoid regression mentioned in https://github.com/neovim/neovim/commit/c64cce906e7ed828d331e1786c985ff7aa734546#commitcomment-45554271
* | | tests: check highlights work in open foldsMatthieu Coudron2020-12-30
| |/ |/| | | | | to prevent a regression we just witnessed
* | fix(fold): dont highlight search results on folded lines (#13616)Matthieu Coudron2020-12-29
| | | | | | Behavior may change in future but for now stick to legacy behavior.
* | vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped EscJan Edmund Lazo2020-12-26
| | | | | | | | | | | | Problem: Mode is not cleared when leaving Insert mode with mapped Esc. Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269) https://github.com/vim/vim/commit/4c25bd785aa8b565bf973cbba12ed36b76daaa4f
* | vim-patch:8.1.0822: peeking and flushing output slows down executionJan Edmund Lazo2020-12-25
| | | | | | | | | | | | | | Problem: Peeking and flushing output slows down execution. Solution: Do not update the mode message when global_busy is set. Do not flush when only peeking for a character. (Ken Takata) https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
* | vim-patch:8.1.2212: cannot see the selection type in :reg outputJan Edmund Lazo2020-12-25
| | | | | | | | | | | | | | | | Problem: Cannot see the selection type in :reg output. (Ayberk Aydın) Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546) https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614 Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
* | feat(sign):Allow signs to be 0 width (#13290)Lukas Reineke2020-12-24
| | | | | | | | Adds support for signs to be 0 cells wide. If all signs of the same group have no width, the signcolumn will not be rendered for that group.
* | rpc: don't handle stale requests on already closed channelBjörn Linse2020-12-23
|/
* foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
| | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* Merge pull request #13355 from notomo/check-textlock-in-apiBjörn Linse2020-12-16
|\ | | | | api: add textlock check
| * test: textlock api errornotomo2020-12-16
| |
* | Merge pull request #13367 from nvim-treesitter/offset-lang-injectionBjörn Linse2020-12-16
|\ \ | | | | | | feat(treesitter): add offset predicate for language injection
| * | feat(treesitter): add offset predicate for language injectionSteven Sojka2020-12-15
| |/ | | | | | | refactor(treesitter): add directives to queries
* / feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
|/ | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
* test/functional/eval: assert that executable() fixtures are executableJan Edmund Lazo2020-12-11
|
* eval: executable(), exepath() accept strings onlyJan Edmund Lazo2020-12-11
| | | | | | | | Cherry-pick f_executable(), f_exepath(), check_for_string() from patch 8.2.2117. Rename check_for_string() to tv_check_for_string(). https://github.com/vim/vim/commit/7bb4e74c38642682cfdd0cb4052adfa5efdd7dd1 Close https://github.com/neovim/neovim/issues/13485
* vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform (#13461)Jan Edmund Lazo2020-12-11
| | | | | Problem: Cannot skip tests for specific MS-Windows platform. Solution: Add windowsversion(). https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded