aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | Fix buffer_updates on blockwise pasteKillTheMule2020-09-30
| | | | | | | | Fixes #12718.
* | treesitter: add string parser (#13008)Thomas Vigouroux2020-09-30
| |
* | Merge pull request #12903 from justinmk/checkcoresThomas Vigouroux2020-09-30
|\ \ | | | | | | lua/check_cores(): check uname instead of TRAVIS_OS_NAME
| * | lua/check_cores(): check uname instead of TRAVIS_OS_NAMEJustin M. Keyes2020-09-12
| | |
* | | vim-patch:8.1.1992: the search stat moves when wrapping at the end of the bufferJan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | Problem: The search stat moves when wrapping at the end of the buffer. Solution: Put the "W" in front instead of at the end. https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
* | | test: Fix failing test in case of special .bashrc (#12920)Omri Sarig2020-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test of "replace environment" in the test module of `test/functional/core/job_spec.lua` failed in case the bashrc file of the user running the test has special actions in it (such actions were printing to the screen from inside this file, or changing the bash mode to be vi). In order to fix this problem, the test now sets the shell to be `/bin/sh` before running the command. Setting the shell to be `/bin/sh` causes the running shell to run without the configuration of the user, and so the test passes even in case of special .bashrc. This change was done only for platforms other than Windows since it is not relevant in windows. The fix was applied to the specific test, even though it is possible that related issues will arise in other tests. It seems like a big overhead to make the fix work on all the possible tests, and it does not worth this cost.
* | | screen: more work on fold_line replacementBjörn Linse2020-09-24
| | |
* | | screen.c: remove fold_lineMatthieu Coudron2020-09-24
| |/ |/| | | | | | | | | | | | | | | as well as copy_text_attr, text_to_screenline. Display of folded line is now done via win_line, which reduces code deduplication. As fold_line was a trimmed down version of win_line, this change brings new features such CursorLineNr highighting even on folded line, as well as CursorLine highlighting.
* | test: buffer updates: add visual charwise paste testBjörn Linse2020-09-19
| |
* | buffer updates: fix issues with "change" operatorBjörn Linse2020-09-19
| |
* | tests: lua buffer updates: reorg check_events()Björn Linse2020-09-19
| |
* | buf_updates: fix wrong updates on linewise changeThomas Vigouroux2020-09-18
| |
* | buf_updates: fix updates for empty buffers (#12926)Thomas Vigouroux2020-09-17
| | | | | | On empty buffers, when editing the first line, the line is buffered, causing offset to be < 0. While the buffer is not actually empty, the buffered line has not been flushed (and should not be) yet, so the call is valid but an edge case.
* | api(extmarks): allow extrange past final newlineThomas Vigouroux2020-09-17
| |
* | treesitter: filter updates on <CR>Thomas Vigouroux2020-09-16
| | | | | | | | | | This fixes an error when fo=ro, when hitting <CR> to insert a new comment line.
* | buf_attach: fix buffer updates with setline()Björn Linse2020-09-16
| |
* | 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
| |/ /