aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * | | vim-patch:8.1.1967: line() only works for the current windowJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Line() only works for the current window. Solution: Add an optional argument for the window to use. https://github.com/vim/vim/commit/8e0a8e7eb7c177807f44db6b76d8e52314248ab5
* | | | treesitter: add predicate "any-of?" (#14344)Raymond W. Ko2021-05-14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the case of Clojure and other Lisp syntax highlighting, it is necessary to create huge regexps consisting of hundreds of symbols with the pipe (|) character. To make things more difficult, these Lisp symbols sometimes consists of special characters that are themselves part of special regexp characters like '*'. In addition to being difficult to maintain, it's performance is suboptimal. This patch introduces a new predicate to perform 'source' matching in amortized constant time. This is accomplished by compiling a hash table on the first use.
* / / Revert "vim-patch:8.1.1378: delete() can not handle a file name that looks ↵Marco Hinz2021-05-12
|/ / | | | | | | | | | | | | | | | | like a pattern (#12784)" This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145. Unfortunately, that commit stalled the Windows builds on GHA and likely requires other patches to work properly.
* | Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hlBjörn Linse2021-05-11
|\ \ | | | | | | API: Adding cterm support to nvim_set_hl
| * | Improvements to testsshadmansaleh2021-04-22
| | |
| * | Fix lualint warningsshadmansaleh2021-04-03
| | |
| * | Add tests for nvim_set_hl()shadmansaleh2021-04-03
| | |
* | | 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