aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* vim-patch:9.0.1597: cursor ends up below the window after a put (#23873)zeertzjq2023-06-02
| | | | | | | | | Problem: Cursor ends up below the window after a put. Solution: Mark w_crow and w_botline invalid when changing the cursor line. (closes vim/vim#12465) https://github.com/vim/vim/commit/8509014adda188ee8bdf6a2e123fbf15a91b29d2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1598: screenchar() and others are wrong with DBCS 'encoding' ↵zeertzjq2023-06-02
| | | | | | | | | | (#23872) Problem: screenchar(), screenchars() and screenstring() do not work properly when 'encoding' is set to a double-byte encoding. Solution: Fix the way the bytes of the characters are obtained. (issue vim/vim#12469) https://github.com/vim/vim/commit/47eec6716b8621fd43bac8ecc9c19089df26705e
* feat(lsp): set client offset_encoding if server supports positionEncodingGregory Anders2023-06-01
| | | | | | If the server sends the positionEncoding capability in its initialization response, automatically set the client's offset_encoding to use the value provided.
* Merge pull request #23789 from luukvbaal/spellzeertzjq2023-06-01
|\ | | | | vim-patch:9.0.{1585,1595}
| * vim-patch:9.0.1595: line pointer becomes invalid when using spell checkingLuuk van Baal2023-06-01
| | | | | | | | | | | | | | Problem: Line pointer becomes invalid when using spell checking. Solution: Call ml_get() at the right places. (Luuk van Baal, closes vim/vim#12456) https://github.com/vim/vim/commit/e84c773d42e8b6ef0f8ae9b6c7312e0fd47909af
* | vim-patch:9.0.1596: :registers command does not work in sandbox (#23866)zeertzjq2023-06-01
| | | | | | | | | | | | | | | | Problem: :registers command does not work in sandbox. Solution: Add flag to the command. (closes vim/vim#12473) https://github.com/vim/vim/commit/eb43b7f0531bd13d15580b5c262a25d6a52a0823 Co-authored-by: Julio B <julio.bacel@gmail.com>
* | fix(column): don't overflow sign column with extmark signs (#23854)zeertzjq2023-06-01
| |
* | test(extmarks): folding inline virt_text on empty line (#23847)zeertzjq2023-05-31
| |
* | feat(lsp)!: promote LspRequest to a full autocmd and enrich with additional ↵jdrouhard2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | data (#23694) BREAKING CHANGE: LspRequest is no longer a User autocmd but is now a first class citizen. LspRequest as a User autocmd had limited functionality. Namely, the only thing you could do was use the notification to do a lookup on all the clients' requests tables to figure out what changed. Promoting the autocmd to a full autocmd lets us set the buffer the request was initiated on (so people can set buffer-local autocmds for listening to these events). Additionally, when used from Lua, we can pass additional metadata about the request along with the notification, including the client ID, the request ID, and the actual request object stored on the client's requests table. Users can now listen for these events and act on them proactively instead of polling all of the requests tables and looking for changes.
* | fix(statusline): corrupted screen with minwid sign item in 'statuscolumn' ↵luukvbaal2023-05-30
| | | | | | | | (#23823)
* | vim-patch:9.0.1588: Incsearch not triggered when pasting clipboard register ↵zeertzjq2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | (#23817) Problem: Incsearch not triggered when pasting clipboard register on the command line. Solution: Also set "literally" when using a clipboard register. (Ken Takata, closes vim/vim#12460) https://github.com/vim/vim/commit/9cf6ab133227ac7e9169941752293bb7178d8e38 Co-authored-by: K.Takata <kentkt@csc.jp>
* | vim-patch:9.0.1591: some "gomod" files are not recognized (#23820)Omar El Halabi2023-05-30
| | | | | | | | | | | | | | Problem: Some "gomod" files are not recognized. Solution: Check for "go.mod" file name before checking out the contents. (Omar El Halabi, closes vim/vim#12462) https://github.com/vim/vim/commit/c9fbd2560f24180d2efa40028ed68427341d2d99
* | vim-patch:9.0.1587: Corn config files are not recognized (#23807)Christian Clason2023-05-29
| | | | | | | | | | | | | | | | Problem: Corn config files are not recognized. Solution: Add a pattern for Corn config files. (Jake Stanger, closes vim/vim#12449) https://github.com/vim/vim/commit/05843e89601c03389a2d7978e7e16aec641a3dc4 Co-authored-by: Jake Stanger <mail@jstanger.dev>
* | fix(substitute): properly check if preview is needed (#23809)zeertzjq2023-05-29
| |
* | fix(NVIM_APPNAME): show error message if $NVIM_APPNAME is invalidGhjuvan Lacambre2023-05-28
| | | | | | Closes https://github.com/neovim/neovim/issues/23056.
* | vim-patch:9.0.1584: not all meson files are recognized (#23797)Christian Clason2023-05-28
| | | | | | | | | | | | | | | | Problem: Not all meson files are recognized. Solution: Add "meson.options". (Liam Beguin, closes vim/vim#12444) https://github.com/vim/vim/commit/1ba0b9e36f36926a7675b31efeda7d3e495c9157 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | fix(extmarks): fix virt_text_hide off-by-one hiding (#23795)zeertzjq2023-05-28
| |
* | fix(extmarks): don't show virt lines for end mark (#23792)zeertzjq2023-05-28
| |
* | test(extmarks): add tests for #14201 #20004 #20885 (#23794)zeertzjq2023-05-28
| |
* | feat(lsp): initial support for dynamic capabilities (#23681)Folke Lemaitre2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | - `client.dynamic_capabilities` is an object that tracks client register/unregister - `client.supports_method` will additionally check if a dynamic capability supports the method, taking document filters into account. But only if the client enabled `dynamicRegistration` for the capability - updated the default client capabilities to include dynamicRegistration for: - formatting - rangeFormatting - hover - codeAction - hover - rename
* | test(extmarks): add test for virt_text_hide with 'smoothscroll' (#23791)zeertzjq2023-05-28
|/
* vim-patch:9.0.1582: :stopinsert may not work in a popup close handler (#23785)zeertzjq2023-05-27
| | | | | | | Problem: :stopinsert may not work in a popup close handler. (Ben Jackson) Solution: Restore stop_insert_mode when appropriate. (closes vim/vim#12452, closes vim/vim#12434) https://github.com/vim/vim/commit/a40c0bcc83c32da02869f59b10538d6327df61c5
* fix(extmarks): make right_align and win_col work on wrapped line (#23759)zeertzjq2023-05-27
|
* Merge pull request #23742 from bfredl/neolightbfredl2023-05-26
|\ | | | | fix(drawline): combine extmark highlight with area hl correctly
| * fix(drawline): combine extmark highligh with area hl correctlybfredl2023-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #23734 Get rid of the weird attr_pri dance which always seemed like a kludge: if (!attr_pri) { wlv.char_attr = hl_combine_attr(wlv.char_attr, extmark_attr); } else { wlv.char_attr = hl_combine_attr(extmark_attr, wlv.char_attr); } Instead combine extmark attrs with (old-skool) syntax attrs in a consistent way and then combine that with attr_pri and the rest in an _unified_ code path fixes #23722 Co-authored-by: luukvbaal <luukvbaal@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | Merge pull request #23583 from zeertzjq/ui-attach-titlebfredl2023-05-26
|\ \ | | | | | | fix(ui-ext): send title to newly-attached UI
| * | fix(ui-ext): send title to newly-attached UIzeertzjq2023-05-26
| | |
* | | fix(extmarks): fix virt_text_hide with 'nowrap' and multibyte (#23757)zeertzjq2023-05-26
| | |
* | | vim-patch:9.0.1578: SpellCap highlight not always updated when needed (#23755)luukvbaal2023-05-26
|/ / | | | | | | | | | | | | | | Problem: SpellCap highlight not always updated when needed. Solution: Handle updating line below closed fold and other situations where only part of the window is redrawn. (Luuk van Baal, closes vim/vim#12428, closes vim/vim#12420) https://github.com/vim/vim/commit/2ac6497f0ef186f0e3ba67d7f0a485bfb612bb08
* / fix(folds): combined Folded and Visual highlights (#23752)zeertzjq2023-05-25
|/ | | Also combine high-priority CursorLine with Folded.
* Merge pull request #23744 from luukvbaal/spellzeertzjq2023-05-25
|\ | | | | vim-patch:9.0.{0175,0590,0608,0664}
| * vim-patch:9.0.0664: bad redrawing with spell checking, using "C" and "$" in ↵Luuk van Baal2023-05-25
| | | | | | | | | | | | | | | | | | | | | | 'cpo' Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'. Solution: Do not redraw the next line when "$" is in 'cpo'. (closes vim/vim#11285) https://github.com/vim/vim/commit/f3ef026c9897f1d2e3fba47166a4771d507dae91 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0608: with spelling, deleting a full stop does not update next ↵Luuk van Baal2023-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | line Problem: With spell checking, deleting a full stop at the end of a line does not update SpellCap at the start of the next line. Solution: Update the next line when characters have been deleted. Also when using undo. https://github.com/vim/vim/commit/26f09ea54b2c60abf21df42c60bdfc60eca17b0d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0590: after exiting Insert mode spelling not checked in next lineLuuk van Baal2023-05-25
| | | | | | | | | | | | | | | | | | | | | | Problem: After exiting Insert mode spelling is not checked in the next line. Solution: When spelling is enabled redraw the next line after exiting Insert mode in case the spell highlight needs updating. https://github.com/vim/vim/commit/ee09fcc9b6cf24e02899461809da9a5148208ea5 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0175: spell checking for capital not working with trailing spaceLuuk van Baal2023-05-25
| | | | | | | | | | | | | | | | | | | | Problem: Spell checking for capital not working with trailing space. Solution: Do not calculate cap_col at the end of the line. (Christian Brabandt, closes vim/vim#10870, issue vim/vim#10838) https://github.com/vim/vim/commit/afa23d1b99692e3c726eb694933ab348b442a1e4 Co-authored-by: Christian Brabandt <cb@256bit.org>
* | build: remove functionaltest-lua targetdundargoc2023-05-24
|/ | | | | It's not needed anymore as it does the exact same thing as functionaltest. The functionaltest target will test the lua type neovim was built with, which can be toggled with the PREFER_LUA option.
* fix(folds): show Folded highlight in Visual selection (#23741)zeertzjq2023-05-24
| | | Note: CursorLine highlight is now combined with Folded.
* feat(term): enable reflow by default (#21124)Christian Clason2023-05-24
| | | | | | | | | libvterm v0.3 supports reflow of terminal buffer when Nvim is resized Since v0.3 is now a required dependency, enable it by default to find (and fix) possible issues. Note: Neovim's scrollback buffer does not support reflow (yet), so lines vanishing into the buffer due to a too small window will be restored without reflow.
* fix(colorscheme): try .lua files in 'rtp' before .vim files in 'pp' (#23727)zeertzjq2023-05-23
| | | | | | This ensures that colorschemes in 'rtp' are tried before ones in 'pp', because some colorschemes in 'pp' may not work if not added to 'rtp'. This also match the current documentation better.
* Merge pull request #20130 from bfredl/inlinebfredl2023-05-22
|\ | | | | feat(ui): inline virtual text
| * fix(test): clean up inline virtual text tests a littlebfredl2023-05-22
| |
| * fix(extmark): fix cursor position with both left and right gravity inline textbfredl2023-05-22
| |
| * fix(ui): fix overflowing nowrap virtual text not displaying if tab followsIbby2023-05-22
| |
| * fix(ui): fix virtual text not displaying when two overlapping inlines (nowrap)Ibby2023-05-22
| |
| * vim-patch:9.0.1067: in diff mode virtual text is highlighted incorrectlyIbby2023-05-22
| | | | | | | | | | | | | | | | | | Problem: In diff mode virtual text is highlighted incorrectly. (Rick Howe) Solution: Do not use diff attributes for virtual text. (closes vim/vim#11714) https://github.com/vim/vim/commit/d097af77797f030e0f29f9bbc298358a5addb2a5 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * fix(ui): fix incorrect highlighting when virtual text next to matchIbby2023-05-22
| |
| * fix(ui): fix incorrect highlighting when virtual text wraps with numberIbby2023-05-22
| |
| * vim-patch:9.0.0944: 'cursorline' causes virtual text highlight to continueIbby2023-05-22
| | | | | | | | | | | | | | | | | | Problem: 'cursorline' causes virtual text highlight to continue. Solution: Save and restore line_attr. (closes vim/vim#11588) https://github.com/vim/vim/commit/6ac16f0c0fe923098b9df5ac430f1923045f16ea Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * fix(ui): fix tabs not being spaced properly after virtual text with no wrapIbby2023-05-22
| | | | | | | | also fixes incorrect skipping of multibyte characters
| * vim-patch:9.0.0716: with 'nowrap' virtual text "after" does not scroll leftIbby2023-05-22
| | | | | | | | | | | | | | | | | | | | Problem: With 'nowrap' virtual text "after" does not scroll left. Solution: Skip part of the virtual text that is left of the window. (closes vim/vim#11320) Fix going beyond the last column of the window. https://github.com/vim/vim/commit/cd105417a53fcf97c0935f3468201ef11516c9f1 Co-authored-by: Bram Moolenaar <Bram@vim.org>