aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* treesitter: do not escape in match? (#14382)Stephan Seitz2021-05-11
|
* make get_region_bytecount end-exclusivechentau2021-05-09
|
* refactor nvim_buf_set_lines to use extmark_splicechentau2021-05-09
|
* Merge pull request #14403 from seandewar/vim-8.2.1933Jan Edmund Lazo2021-05-09
|\ | | | | vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
| * vim-patch:8.2.0174: various commands not completely testedSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551) https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
* | Merge pull request #13664 from ivechan/win_exectuteJan Edmund Lazo2021-05-07
|\ \ | | | | | | vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
| * | vim-patch:8.1.1418: win_execute() is not implemented yetjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
* | | vim-patch:8.1.1378: delete() can not handle a file name that looks like a ↵Shougo2021-05-07
| | | | | | | | | | | | | | | | | | | | | | | | pattern (#12784) Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes vim/vim#4424, closes vim/vim#696) https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
* | | Merge pull request #14502 from chentau/extmark_pasteBjörn Linse2021-05-07
|\ \ \ | | | | | | | | Splice extmarks on every line for block visual paste
| * | | splice extmarks on every line for block visual pastechentau2021-05-06
| | | |
* | | | Merge pull request #14500 from jamessan/coverity-fixesJames McCoy2021-05-06
|\ \ \ \ | | | | | | | | | | Various Coverity fixes
| * | | | coverity/331378: Fix inserting new decor providerJames McCoy2021-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the providers are ordered by ns_id, inserting a new provider may require shifting existing providers around to maintain this ordering. When this happens, we need to allocate a new element at the end of the vector and then shift the larger elements to the right. Rather than iterating (incorrectly) with a loop and copying each item, use memmove to copy the entire block.
* | | | | lsp: add a test for the jump_to_location + jump list fixfrancisco souza2021-05-06
|/ / / /
* | | | Merge pull request #14483 from mjlbach/floating_window_border_fixBjörn Linse2021-05-05
|\ \ \ \ | | | | | | | | | | window.c: fix floating window border width calculation
| * | | | tests: floating windows terminate border on edge of viewport when window ↵Michael Lingelbach2021-05-04
| | |_|/ | |/| | | | | | | | | | extends past viewport
* | | | Merge pull request #14424 from janlazo/vim-8.1.1726Jan Edmund Lazo2021-05-04
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}
| * | | | vim-patch:ebdf3c964a90Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/ebdf3c964a901fc00c9009689f7cfda478342c51 Omit vim9.
* | | | | Merge pull request #14418 from DerekStride/treesitter-set-directiveThomas Vigouroux2021-05-03
|\ \ \ \ \ | |_|_|/ / |/| | | | [RDY] tree-sitter ensure there is a nested table allocated for `#set!`
| * | | | Ensure there is a nested table allocated for #set!derekstride2021-04-27
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following bug: ``` test/functional/helpers.lua:107: Error executing lua: vim/treesitter/query.lua:256: attempt to index a nil value ```
* / / / decorations: right_align and win_colBjörn Linse2021-05-01
|/ / /
* | / ui_compositior: handle multiple displayed floats in the same tickBjörn Linse2021-04-26
| |/ |/| | | | | | | problem: the order of non-focuesed float opened before focused float is wrong (sunjon) solution: check curwin and correct the order (bfredl)
* | lsp: make tagstack smarter motion-wise (#12262)Gabriel Sanches2021-04-23
| | | | | | | | | | | | | | | | | | | | | | This commit prevents two things regarding the tagstack and jumping to locations: - Pushing the same item twice in a row - Pushing an item where the destination is the same as the source Both prevent having to press CTRL-T additional times just to pop items that don't make the cursor move.
* | api: fix nvim_exec() silencing behaviour (#14413)Shadman2021-04-21
|/ | | | | Previously nvim_exec would silent output no matter whether output is true or false. Now output is only silent and captured when output is true.
* Merge pull request #12323 from da-x/orphaned-signsMatthieu Coudron2021-04-18
|\ | | | | Handle 'orphaned signs' on line deletion for signcolumn >= 2
| * Handle 'orphaned signs' on line deletion for signcolumn >= 2Dan Aloni2021-04-17
| |
* | Merge pull request #14385 from chentau/extmark_deleteBjörn Linse2021-04-17
|\ \ | | | | | | Extmarks: remove `curbuf->deleted_bytes2` from `op_delete`
| * | extmarks: remove curbuf->deleted_bytes2 from op_deletechentau2021-04-16
| | |
* | | Merge pull request #14365 from chentau/extmark_delbytes_moveBjörn Linse2021-04-17
|\ \ \ | |_|/ |/| | Extmarks: flush curbuf->deleted_bytes2 after calling do_move
| * | flush curbuf->deleted_bytes2 after calling do_movechentau2021-04-14
| |/
* | tests/functional: delete temp file created during test run (#14363)Raymond W. Ko2021-04-14
| |
* | Merge pull request #14358 from bfredl/decodecoBjörn Linse2021-04-15
|\ \ | | | | | | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
| * | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flagBjörn Linse2021-04-14
| | |
* | | lsp: Remove vim.NIL handling from apply_text_document_editMathias Fussenegger2021-04-14
| | | | | | | | | | | | | | | The rpc layer normalizes `vim.NIL` to `nil`, so the scenario tested should never happen.
* | | lsp: Accept text document edits with version zeroMathias Fussenegger2021-04-14
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a couple of reports of "Buffer X newer than edits" problems. We first assumed that it is incorrect for a server to send 0 as a version - and stated that they should send a `null` instead, given that in the specification the `textDocument` of a `TextDocumentEdit` is a `OptionalVersionedTextDocumentIdentifier`. But it turns out that this was a change in 3.16, and in 3.15 and earlier versions of the specification it was a `VersionedTextDocumentIdentifier` and language servers didn't have a better option than sending `0` if they don't keep track of the version numbers. So this changes the version check to always accept `0` values. See - https://github.com/neovim/neovim/issues/12970 - https://github.com/neovim/neovim/issues/14256 - https://github.com/haskell/haskell-language-server/pull/1727
* | Merge pull request #14046 from ↵Thomas Vigouroux2021-04-14
|\ \ | | | | | | | | | | | | nvim-treesitter/feature/language-tree-directive-config feat(treesitter): allow injections to be configured through directives
| * | feat(treesitter): allow injections to be configured through directivesSteven Sojka2021-04-02
| | |
* | | Merge pull request #14318 from chentau/extmark_luadoBjörn Linse2021-04-13
|\ \ \ | | | | | | | | extmark: splice extmarks on :luado
| * | | extmark: splice extmarks on :luadochentau2021-04-12
| |/ /
* | / float: add "solid" border style (#14310)Marco Hinz2021-04-12
| |/ |/| | | | | | | | | It looks solid with the default `FloatBorder` group. If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you effectively get an "1-cell padding".
* | test/ui/cmdline: set notimeout to remove indeterminism (#14338)Jan Edmund Lazo2021-04-10
| |
* | Merge pull request #14317 from chentau/extmark_subBjörn Linse2021-04-10
|\ \ | | | | | | extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes
| * | extmark: correct extmark_splice call with inccommandchentau2021-04-09
| |/
* | Merge pull request #14321 from jamessan/ci-fixesJames McCoy2021-04-09
|\ \ | | | | | | Some small cleanups/diagnostic improvements
| * | fix(test): Detect more core filenamesJames McCoy2021-04-08
| | |
* | | eval: add v:_null_stringJan Edmund Lazo2021-04-08
|/ / | | | | | | | | | | | | | | | | | | Replacement for Vim's test_null_string(). Vim uses it to verify that its codebase handles null strings. Preparation for the Test_null_list() in patch v8.2.1822. Use v:_null_string, not non-existent env var, for null string tests. Mention v:_null_string in id() because id(v:_null_string) returns (nil).
* | Merge pull request #14200 from teto/treesitter-checkhealthMarco Hinz2021-04-07
|\ \ | | | | | | feat: treesitter checkhealth
| * | feat(ts): include parser ABI version in checkhealthThomas Vigouroux2021-04-06
| | |
* | | Merge pull request #14227 from bfredl/bordaa3Björn Linse2021-04-05
|\ \ \ | | | | | | | | Border: allow to enable/disable specific border edges
| * | | Border: allow to enable/disable specific border edgesBjörn Linse2021-04-04
| | | |
* | | | Merge pull request #14199 from bfredl/chansend2Björn Linse2021-04-04
|\ \ \ \ | | | | | | | | | | api: fix use-after-free in nvim_chan_send