aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* api: add nvim_buf_call to call function with curbuf changed to bufferBjörn Linse2020-09-13
|
* fix: use luahl in treesitterThomas Vigouroux2020-09-13
|
* UI: fix cursor not displayed after hiding and un-hiding #12811erw72020-09-12
| | | | | | | | | | | | | | | | | | | | | | - TUI: Fix a case where the cursor was not displayed after hiding the cursor and then setting it to be displayed again. - Change to reset everything before setting guicursor. fixes #12800 close #12811 Steps to reproduce: nvim -u NORC :set termguicolors :hi nCursor guifg=red guibg=red :hi iCursor guifg=green guibg=green :hi cCursor guifg=blue guibg=blue :set guicursor=n:block-nCursor,i:hor25-iCursor,c:ver25-cCursor :set guicursor-=c:ver25-cCursor Actual behaviour: Cursor is a blue vertical. Expected behaviour: Cursor should be the default color block.
* Merge pull request #12721 from aufarg/vim-8.1.0265Jan Edmund Lazo2020-09-12
|\ | | | | [RDY] vim-patch:8.1.{265,271,273,274,275,277,278,279,280,281,282,284,286,291,295,296,320,321,339,351,392,399,552}
| * vim-patch:8.1.0295: no 'incsearch' highlighting for :vimgrep and similarAufar Gilbran2020-09-11
| | | | | | | | | | | | | | Problem: No 'incsearch' highlighting for :vimgrep and similar commands. Solution: Parse the :vimgrep command and similar ones to locate the search pattern. (Hirohito Higashi, closes vim/vim#3344) https://github.com/vim/vim/commit/264cf5cfaf40e704aea2578e70c15ed9a9d0161e
| * vim-patch:8.1.0291: 'incsearch' highlighting not used for :sortAufar Gilbran2020-09-11
| | | | | | | | | | | | Problem: 'incsearch' highlighting not used for :sort. Solution: Handle pattern in :sort command. https://github.com/vim/vim/commit/81f56536b1bc324eb173924a8cf4d7dbbf4f3fdb
| * vim-patch:8.1.0271: 'incsearch' doesn't work for :s, :g or :vAufar Gilbran2020-09-11
| | | | | | | | | | | | Problem: 'incsearch' doesn't work for :s, :g or :v. Solution: Also use 'incsearch' for other commands that use a pattern. https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0
* | fix(bufupdates): avoid sending empty updatesThomas Vigouroux2020-09-11
| |
* | fix(bytetrack): send correct events when opening linesThomas Vigouroux2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | a bit of test cleanup ärrår feeel SPLIT fix: sned correct updates on <CR>
* | tests: disable hl glitch test for now, will be fixed in luahl (next PR)Björn Linse2020-09-10
| |
* | fix lintsThomas Vigouroux2020-09-09
| |
* | api/buffer: add "on_bytes" callback to nvim_buf_attachBjörn Linse2020-09-09
| | | | | | | | | | | | This implements byte-resolution updates of buffer changes. Note: there is no promise that the buffer state is valid inside the callback!
* | treesitter: revert wrong optimization in highlightsThomas Vigouroux2020-09-09
| |
* | win: avoid duplicate separators in $PATH #12869Justin M. Keyes2020-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems like redundant env var separators (";" on Windows) in $PATH can cause weird behavior. From #7377: > After some time, system(['win32yank', '-o']) and system('win32yank -o') > start returning different results: specifically first returns an > empty string. > > 1. $PATH weirdly contains double semicolon followed by path to the > “installation directory” (unpacked directory from archive). > 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed. close #7377 ref 224f99b85d311ebd31451db13b66e4a3c7e51938
* | win/env: fix stdpath()/XDG_* initialization, parsing #12829erw72020-09-07
| | | | | | | | | | | | | | | | - Windows environment variables are semicolon-separated, but some logic was assuming colon (:). This broke initialization and parsing of XDG_CONFIG_DIRS, XDG_DATA_DIRS, 'runtimepath', stdpath(), etc. - test/defaults_spec: enable tests on Windows ref #12793
* | UI: forward 'mousefocus' option #12863Justin M. Keyes2020-09-06
| | | | | | | | close #12849 ref eb4aab7173fa1733f77bb6d7117351b47ada6134
* | Merge pull request #12802 from jamessan/travis-ubuntu-bumpJames McCoy2020-09-06
|\ \
| * | test/helpers: Run $SYMBOLIZER to decode sanitizer logs, if it is setJames McCoy2020-09-06
| | |
* | | tests: update query.list_predicates() testBjörn Linse2020-09-06
| | |
* | | treesitter: Use excplicit names in testsThomas Vigouroux2020-09-06
| | |
* | | provider: align all foo#Detect() functions #12839Justin M. Keyes2020-09-05
| | | | | | | | | | | | | | | | | | Problem: ruby#Detect() and node#Detect() don't return a [prog, err] pair which means callers must special-case them. Solution: align their return signatures with the perl/pythonx providers.
* | | Support for :perl, :perlfile, :perldo and perleval() (#12809)Justin M. Keyes2020-09-05
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support for :perl, :perlfile, :perldo and perleval() * document that the perl provider doesn't currently work on Windows * document that the perl legacy interface is now also supported * added perleval() documentation * import legacy perl interface tests * only perl 5.22+ is supported * healtcheck: use g:perl_host_prog if its set instead using just 'perl' isn't correct as it may not be the version requested. ditto for 'cpanm', rather go through 'App::cpanminus' to find the latest perl version
| * | | healtcheck: use g:perl_host_prog if its set insteadJacques Germishuys2020-09-05
| | | | | | | | | | | | | | | | | | | | | | | | using just 'perl' isn't correct as it may not be the version requested. ditto for 'cpanm', rather go through 'App::cpanminus' to find the latest perl version
| * | | support for :perl, :perlfile, :perldo and perleval()Jacques Germishuys2020-08-30
| | |/ | |/|
* | | API: be less breaking in the christmas tree decorationsBjörn Linse2020-09-04
| | |
* | | Merge pull request #12847 from nvim-treesitter/ts-list-predicatesBjörn Linse2020-09-04
|\ \ \ | |_|/ |/| | treesitter: allow to list supported predicates
| * | treesitter: allow to list supported predicatesThomas Vigouroux2020-09-04
| | |
* | | decor: sketch new decorations APIBjörn Linse2020-09-03
| | | | | | | | | | | | | | | | | | | | | | | | return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
* | | extmark: move id to dict in nvim_buf_set_extmarkBjörn Linse2020-09-03
|/ /
* | Merge pull request #12814 from theHamsta/escape-queriesThomas Vigouroux2020-09-01
|\ \ | | | | | | treesitter: avoid escaping complete query strings
| * | treesitter: avoid escaping complete query stringsStephan Seitz2020-08-31
| | | | | | | | | | | | | | | Escape "\\" only for `vim-match?` not for `match?` Fixes #12595
* | | Merge pull request #12736 from vigoux/ts-iter-childrenBjörn Linse2020-09-01
|\ \ \ | | | | | | | | treesitter: allow to iterate over node children
| * | | treesitter: add node:field() to get field childrenThomas Vigouroux2020-09-01
| | | |
| * | | treesitter: allow to iterate over node childrenThomas Vigouroux2020-08-31
| |/ /
* / / g:clipboard: allow command given as a list #12775DDoSolitary2020-09-01
|/ / | | | | fixes #12768
* | fix(win): ignore closing wins in win_findbuf #12798Thomas Vigouroux2020-08-31
| | | | | | | | | | This caused segfaults when calling win_findbuf in an `on_detach` callback, when the callback was triggered when closing the last window containing the buffer.
* | docs, remove 'guifontset' #11708Justin M. Keyes2020-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | - remove redundant autocmd list This "grouped" list is useless, it only gets in the way when searching for event names. - intro.txt: cleanup - starting.txt: update, revisit - doc: `:help bisect` - mbyte.txt: update aliases 1656367b90bd. closes #11960 - options: remove 'guifontset'. Why: - It is complicated and is used by almost no one. - It is unlikely to be implemented by Nvim GUIs (complicated to parse, specific to Xorg...).
* | lsp: Fix bad sortText comparison (#12485)Anmol Sethi2020-08-30
|/ | | | | | The spec indicates we have to fallback to comparing by label if sortText is falsy. Closes #12431
* vim-patch:8.2.1472: ":argdel" does not work like ":.argdel" as documentedJan Edmund Lazo2020-08-17
| | | | | | | | Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey Demin) Solution: Make ":argdel" work like ":.argdel". (closes vim/vim#6727) Also fix giving the error "0 more files to edit". https://github.com/vim/vim/commit/7b22117c4ecf383b6f35acef041773a83ec28220
* lua: add vim.register_keystroke_callback (#12536)TJ DeVries2020-08-14
| | | | | | | | | | | | | | | * feat: Add vim.register_keystroke_callback * fixup: Forgot to remove mention of old option * fixup: Answer jamessan comments * fixup: Answer norcalli comments * fixup: portability * Update runtime/doc/lua.txt Co-authored-by: Ashkan Kiani <ashkan.k.kiani@gmail.com>
* Merge pull request #12739 from vigoux/ts-refactor-predicatesTJ DeVries2020-08-14
|\ | | | | treesitter: refactor
| * treesitter: add and test vim-match? predicateThomas Vigouroux2020-08-13
| |
| * treesitter: add contains? predicateThomas Vigouroux2020-08-13
| |
| * treesitter: refactor and use lua regexesThomas Vigouroux2020-08-13
| |
* | fix: runtimepath always updates lua package.pathTJ DeVries2020-08-10
|/
* tests/terminal/tui: wait 1ms to avoid data race in FreeBSDJan Edmund Lazo2020-08-02
|
* vim-patch:8.2.1004: line numbers below filler lines not always updatedJan Edmund Lazo2020-08-02
| | | | | | | Problem: Line numbers below filler lines not always updated. Solution: Don't break out of the win_line() loop too early. (Christian Brabandt, closes vim/vim#6294, closes vim/vim#6138) https://github.com/vim/vim/commit/511feec6f0a9e954f1d7353425fa51232b1a8e88
* vim-patch:8.2.0072: memory test still fails on Cirrus CIJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | Problem: Memory test still fails on Cirrus CI. Solution: Allow for a tiny bit more tolerance in the upper limit. https://github.com/vim/vim/commit/bb062c1588c324a1ce4cf01fd5e0780e83aaabe4 Check memory usage after Neovim sourced the Vimscript files. https://github.com/neovim/neovim/pull/12679 N/A patches for version.c: vim-patch:8.2.0062: memory test is flaky on FreeBSD Problem: Memory test is flaky on FreeBSD. Solution: Add a short sleep before getting the first size. https://github.com/vim/vim/commit/e7538ae997b3983d0c91a886a74ebacedd752164 vim-patch:8.2.0071: memory test often fails on Cirrus CI Problem: Memory test often fails on Cirrus CI. Solution: Allow for more tolerance in the upper limit. Remove sleep. https://github.com/vim/vim/commit/1832d12aea30f1533f3c461d9e1530d10f66b162
* vim-patch:8.1.2172: spell highlight is wrong at start of the lineJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes vim/vim#5078) https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d Skip spell tests in OpenBSD. Nvim or screen likely crashed. Revist once issue #12104 is fixed. Skip the test for the following reasons: - unknown regression caused by https://github.com/neovim/neovim/issues/12104 - cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74
* Merge pull request #12699 from jamessan/getnJames McCoy2020-07-31
|\