aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* 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
* tests: Take into account magic hyphen. (#13518)Edwin Pujols2020-12-11
| | | | | | | | | | | | | In Lua patterns the hyphen works like a non-greedy version of Vim's `*`. - Use `%-` when you need a literal hyphen. - If you don't need a regular expression at all, use something like ``` string.find(text, pattern, 1, true) ``` so that the pattern is regarded as a plain, non-magical string. See [1] and [2] in the Lua manual. [1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns [2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
* Merge pull request #13482 from dm1try/propagate_lua_file_loading_errorsBjörn Linse2020-12-10
|\ | | | | runtime: propagate lua parsing errors while using "require"
| * runtime: propagate lua parsing errors while using "require"dm1try2020-12-10
| |
* | Merge pull request #13450 from nvim-treesitter/fix-unknown-language-parserThomas Vigouroux2020-12-10
|\ \ | |/ |/| fix(treesitter): don't throw an error for missing injected langs
| * fix(treesitter): don't throw an error for missing injected langsSteven Sojka2020-12-04
| |
* | Merge pull request #13449 from nvim-treesitter/fix-language-for-rangeThomas Vigouroux2020-12-06
|\ \ | | | | | | fix(treesitter): incorrect method name call
| * | fix(treesitter): incorrect method name callSteven Sojka2020-12-04
| |/
* / ui: Fix win_hide distination gridshirasaka2020-12-05
|/ | | | | | When create tab, win_hide sent to new tab and new tab's previous tab. So, if created tab that not next tab (eg. $tabnew cmd), send win_hide to not current tab, and fixed this.
* Merge pull request #13173 from tjdevries/tjdevries/option_infoBjörn Linse2020-12-04
|\ | | | | api: add option metadata
| * api/options: cleanup the fixupBjörn Linse2020-12-04
| |
| * api/options: fixupTJ DeVries2020-12-04
| |
* | lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} (#13310)Mathias Fußenegger2020-12-03
| | | | | | Allows users to associate the diagnostics with the right bufnr.
* | lsp: Fix "unsupported_method" error when the buffer does not have an LSP ↵eightpigs2020-12-03
|/ | | | Server (#13175)
* Merge pull request #13428 from janlazo/nvim-8.0.1525Jan Edmund Lazo2020-12-01
|\ | | | | vim-patch:8.0.{858,953,1525}
| * test/wildmode_spec: override $PS1Jan Edmund Lazo2020-12-01
| | | | | | | | | | User config may set $PS1 for a colored prompt. It breaks the screen tests.
| * test/timer_spec: increase base timeoutJan Edmund Lazo2020-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | The following keeps happening in my local environment because the timeout is too short. [ FAILED ] test/functional/eval/timer_spec.lua @ 208: timers do not crash when processing events in the handler test/functional/eval/timer_spec.lua:219: retry() attempts: 1 test/helpers.lua:73: Expected objects to be the same. Passed in: (number) 0 Expected: (number) 1
| * vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal windowJan Edmund Lazo2020-12-01
| | | | | | | | | | | | | | Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes vim/vim#2654) https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
* | Merge pull request #12235 from dm1try/add_init_luaBjörn Linse2020-12-01
|\ \ | | | | | | add init.lua as an alternative user config
| * | startup: allow lua files as session onedm1try2020-12-01
| | |
| * | startup: add init.lua as an alternative user config, fixes #7895dm1try2020-12-01
| | |
| * | path: add helper for checking a file extensiondm1try2020-12-01
| |/
* / ex_getln: add secret charmBjörn Linse2020-12-01
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opt in to this secret world using set wildchar=0 " already the default, but remove if non-zero existing config: set wildcharm=0 now you can map 'wildmode' just like any mode: cnoremap <tab> <c-z> function! Spacey() return getcmdline()[-1:] == "/" ? "\<bs>" : "" endfunc cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/" Possibly asked questions: What about backwards compatibility? ==== Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working. Doesn't `<c-z>` mean suspend? ==== Not in cmdline mode. If it would then the recommended wildcharm would not have been `<c-z>` to start with. My config relies on `:<c-z>` being a synonym to `:<nop>`! ==== just no.
* folds: use Folded highlight even with spell on (#13393)Matthieu Coudron2020-11-29
| | | | the highlight was not used with spell enabled on folded lines. Thanks to lervag for the nice report.
* screen.c: Allow showbreak to override cursorline. (#13372)shade-of-noon2020-11-25
| | | | | I also added relevant tests. Close #13369
* Merge pull request #13357 from vigoux/luahl-priorityBjörn Linse2020-11-25
|\ | | | | feat(luahl): add priority mechanism
| * feat(luahl): add priority mechanismThomas Vigouroux2020-11-25
| | | | | | | | | | Base priority is 0x1000, in order to stay kinda backward compatible. Also set tree-sitter default highlight to 100 (middle-ish value)
* | Merge pull request #13366 from bfredl/path3aBjörn Linse2020-11-24
|\ \ | | | | | | api: enable nvim_get_runtime_file to find subdirectories
| * | api: enable nvim_get_runtime_file to find subdirectoriesBjörn Linse2020-11-24
| | |
* | | Merge pull request #13322 from teto/remove_curwinThomas Vigouroux2020-11-24
|\ \ \ | | | | | | | | refactor: pass window to was_set_insecurely
| * | | fix(fold): use Folded highlight even with spell onMatthieu Coudron2020-11-23
| |/ / | | | | | | | | | | | | Partially addresses https://github.com/neovim/neovim/issues/12982. It's more a quickfix while reworking folds.
* | / fix(treesitter): allow ranges in set_included_rangesThomas Vigouroux2020-11-23
| |/ |/|
* | feat(treesitter): add language treeSteven Sojka2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* | test: Add GitHub actions support to helpers.isCIJames McCoy2020-11-22
|/
* Merge pull request #13307 from janlazo/vim-8.1.0777Jan Edmund Lazo2020-11-21
|\ | | | | vim-patch:8.1.{323,777,933,938},8.2.{178,248,547,581,592,646,658,793,1608,1975,1991,1992,1993,1994,1998,1999,2003,2007,2008,2009}
| * test: rewrite powershell tests to remove timeoutJan Edmund Lazo2020-11-20
| | | | | | | | TSAN kept failing and Appveyor sometimes fails on the same test.