aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | test: revert test and doc changes from #6724, add a test for #6716zeertzjq2022-04-29
| | | | | | | | | | | | Multi-char 'pastetoggle' now works without breaking character-find.
| * | vim-patch:8.2.0919: merging modifier for modifyOtherKeys is done twicezeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Merging modifier for modifyOtherKeys is done twice. Solution: Remove the merging done in vgetc(). https://github.com/vim/vim/commit/673fc3e23f09095d17f0095c4323958041b2d0d2 Omit ex_getln.c change as it was removed in patch 8.2.2084, so no_reduce_keys is still not needed in Nvim.
| * | vim-patch:8.2.0916: mapping with partly modifyOtherKeys code does not workzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Mapping with partly modifyOtherKeys code does not work. Solution: If there is no mapping with a separate modifier include the modifier in the key and then try mapping again. (closes vim/vim#6200) https://github.com/vim/vim/commit/975a880a1389e8ce6dea8d66a7c109140b2f94ec Cherry-pick applicable part of put_string_in_typebuf(). Revert related changes from 10a5825. Use KEYLEN_PART_KEY for incomplete modifier sequence. Omit test as it sends terminal codes. Use a Lua test instead.
| * | revert: "refactor: Remove allow_keys global (#6346)"zeertzjq2022-04-29
| | |
| * | vim-patch:8.2.0867: using \{xxx} for encoding a modifier is not nicezeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using \{xxx} for encoding a modifier is not nice. Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a different code. https://github.com/vim/vim/commit/fccd93f0917234b962ce07d1df3adf9d7105936f Use this notation in langmap_spec.
| * | vim-patch:8.2.0855: GUI tests fail because the test doesn't use a modifierzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier. https://github.com/vim/vim/commit/ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf Change macros to enums to use them in unit tests.
| * | vim-patch:8.2.0851: can't distinguish <M-a> from accented "a" in the GUIzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | Problem: Can't distinguish <M-a> from accented "a" in the GUI. Solution: Use another way to make mapping <C-bslash> work. (closes vim/vim#6163) https://github.com/vim/vim/commit/f4ae6b245a54f11dd967d06b80f30e5abf55fb82
| * | vim-patch:8.2.0839: dropping modifier when putting a character back in typeaheadzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes vim/vim#6158) https://github.com/vim/vim/commit/b42c0d54279b1fdb79652db0c84171e213458809 Vim's test doesn't seem to work properly as the hit-enter prompt seems to be delayed. Add a Lua screen test.
| * | vim-patch:partial:8.2.0815: maparg() does not provide enough information for ↵zeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mapset() Problem: maparg() does not provide enough information for mapset(). Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified" https://github.com/vim/vim/commit/9c65253fe702ea010afec11aa971acd542c35de2 This only includes the "lhs" value part.
| * | feat(edit): insert an unsimplified key using CTRL-SHIFT-Vzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This marks the following Vim patches as ported: vim-patch:8.1.2333: with modifyOtherKeys CTRL-^ doesn't work Problem: With modifyOtherKeys CTRL-^ doesn't work. Solution: Handle the exception. https://github.com/vim/vim/commit/828ffd596394f714270a01a55fc3f949a8bd9b35 vim-patch:8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. Solution: Convert the Escape sequence back to key as if modifyOtherKeys is not set, and use CTRL-SHIFT-V to get the Escape sequence itself. (closes vim/vim#5254) https://github.com/vim/vim/commit/fc4ea2a72d36de1196a3ce17352e72f8fe90f4bb vim-patch:8.2.2084: CTRL-V U doesn't work to enter a Unicode character Problem: CTRL-V U doesn't work to enter a Unicode character when modifyOtherKeys is effective. (Ken Takata) Solution: Add a flag to get_literal() for the shift key. (closes vim/vim#7413) https://github.com/vim/vim/commit/0684e36a7ee0743f2889698fb8e0e14f7acae423 Omit getcmdkeycmd() change as it depends on Vim patch 8.2.2062, which may introduce a potential breakage.
| * | vim-patch:8.1.2167: mapping test fails on MS-Windowszeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | Problem: Mapping test fails on MS-Windows. Solution: Remove all the existing Insert-mode mappings. https://github.com/vim/vim/commit/2559a47823a6a7827631f2e6a0176d7afce2721c
| * | vim-patch:8.1.2165: mapping test fails on Maczeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | Problem: Mapping test fails on Mac. Solution: Remove the default Mac mapping. https://github.com/vim/vim/commit/4f2f61a014e80217a2d6ac476c8f94e250a3d0ff
| * | vim-patch:8.1.2159: some mappings are listed twicezeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | Problem: Some mappings are listed twice. Solution: Skip mappings duplicated for modifyOtherKeys. (closes vim/vim#5064) https://github.com/vim/vim/commit/fafb4b18cd4aa5897537f53003b31bb83d7362df
| * | feat(input): delay all simplificationszeertzjq2022-04-29
| | | | | | | | | | | | Avoid unsimplfied Ctrl-C in input buffer when it is not mapped.
| * | test(old): revert changes from ed88ca75034a48916d165e88459c791c450df550zeertzjq2022-04-29
| | | | | | | | | | | | | | | Copy test_regex_char_classes.vim from upstream to avoid future encoding problems.
| * | vim-patch:8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledzeertzjq2022-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected. https://github.com/vim/vim/commit/459fd785e4a8d044147a3f83a5fca8748528aa84 Add REPTERM_NO_SPECIAL instead of REPTERM_SPECIAL because the meaning of "special" is different between Vim and Nvim. Omit seenModifyOtherKeys as Nvim supports attaching multiple UIs. Omit tests as they send terminal codes. Keep the behavior of API functions.
* | | ci: remove mjlbach from reviewers (#18297)Michael Lingelbach2022-04-29
|/ /
* / fix: suppress "is a directory" messages with shortmess 'F' (#18296)Gregory Anders2022-04-28
|/ | | | When 'F' is in 'shortmess', don't show messages when editing a directory. This fixes a regression introduced by 0956283.
* vim-patch:ce001a337e28 (#18287)Christian Clason2022-04-27
| | | | | | Update runtime files https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 also add `vimStdPlugin` keywords missing from previous updates
* Merge pull request #18254 from dundargoc/refactor/remove-char_ubfredl2022-04-27
|\ | | | | refactor: replace char_u variables and functions with char
| * refactor: replace char_u variables and functions with charDundar Goc2022-04-25
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | refactor: enable -Wconversion warning for ex_docmd.c (#18277)dundargoc2022-04-27
| | | | | | | | | | | | * refactor: enable -Wconversion warning for ex_docmd.c Work on https://github.com/neovim/neovim/issues/567
* | refactor(build): remove unused includes #17078kylo2522022-04-26
| | | | | | | | Remove unused includes in src/nvim/buffer.c|h using the IWYU library. Yet another step towards #6371 and #549
* | refactor(terminal)!: drop winpty, require Windows 10 #18253erw72022-04-26
| | | | | | | | | | | | | | | | | | | | | | Problem: winpty is only needed for Windows 8.1. Removing it reduces our build and code complexity. Solution: - Remove winpty. - Require Windows 10. closes #18252
* | fix: has() should preserve v:shell_error #18280Andrey Mishchenko2022-04-26
| | | | | | fixes #18278
* | feat(checkhealth): check for slow shell #17829Philip Linell2022-04-26
| | | | | | | | | | | | | | | | | | | | Problem: I had some issues where multiple plugins (vim-fzf and fugitive) was slow because of my `.zshenv`. Solution: Check shell performance in :checkhealth. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* | fix(build): missing definitions for sizeof macros #16393kylo2522022-04-26
| | | | | | | | | | Verified with -Wundef Fixes #16392
* | Merge pull request #18260 from dundargoc/refactor/enable-conversion-warningbfredl2022-04-26
|\ \ | | | | | | refactor: enable -Wconversion warning for funcs.c and userfuncs.c
| * | refactor: enable -Wconversion warning for funcs.c and userfuncs.cDundar Goc2022-04-26
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | fix(lsp): fix unnecessary buffers being added on empty diagnostics (#18275)ii142022-04-26
| | | | | | | | | | | | | | | Some language servers send empty `textDocument/publishDiagnostics` messages after indexing the project with URIs corresponding to unopened buffers. This commit guards against opening buffers corresponding to empty diagnostics.
* | | Merge pull request #18267 from zeertzjq/test-eq-arg-orderzeertzjq2022-04-26
|\ \ \ | | | | | | | | test: correct order of arguments to eq() and neq()
| * | | test: correct order of arguments to eq() and neq()zeertzjq2022-04-26
|/ / /
* | | feat(tui): query terminal for CSI u support (#18181)Gregory Anders2022-04-25
| | | | | | | | | | | | | | | | | | On startup query the terminal for CSI u support and enable it using the escape sequence from kitty's progressive enhancement protocol [1]. [1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
* | | Merge pull request #18249 from zeertzjq/vim-8.2.4760zeertzjq2022-04-26
|\ \ \ | | | | | | | | vim-patch:8.2.{4760,4765}: matchfuzzy() limit
| * | | vim-patch:8.2.4765: function matchfuzzy() sorts too many itemszeertzjq2022-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Function matchfuzzy() sorts too many items. Solution: Only put matches in the array. (Yegappan Lakshmanan, closes vim/vim#10208) https://github.com/vim/vim/commit/047a7019b293918343998ccbdfabd48c771f5eef
| * | | vim-patch:8.2.4760: using matchfuzzy() on a long list can take a whilezeertzjq2022-04-26
|/ / / | | | | | | | | | | | | | | | | | | Problem: Using matchfuzzy() on a long list can take a while. Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto, closes vim/vim#10189) https://github.com/vim/vim/commit/9029a6e9931eede1d44f613687a2c01b9fe514ec
* / / vim-patch:8.2.4826: .cshtml files are not recognized (#18259)Christian Clason2022-04-25
|/ / | | | | | | | | Problem: .cshtml files are not recognized. Solution: Use html filetype for .cshtml files. (Julien Voisin, closes vim/vim#10212) https://github.com/vim/vim/commit/1f435dafff2452e0b55d1ca457ce7402e526e92a
* | Merge pull request #18257 from dundargoc/refactor/enable-conversion-warning/tagbfredl2022-04-25
|\ \ | | | | | | refactor: enable Wconversion warning for tag
| * | refactor: enable Wconversion warning for tagDundar Goc2022-04-25
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | Merge pull request #18255 from bfredl/workaround_versionbfredl2022-04-25
|\ \ \ | |/ / |/| | fix(ci): workaround bug in msgpackparse() on windows caused by api level bump
| * | fix(ci): workaround bug in msgpackparse() on windows caused by api level bumpbfredl2022-04-25
| | |
* | | fix: show autocmd output when F is in shortmess (#18251)Gregory Anders2022-04-25
|/ / | | | | | | | | | | | | | | | | | | | | The default value of including F in 'shortmess' has the unfortunate side effect of hiding output from autocommands. This is a common source of confusion and often leads people to think their autocommands are not working when they are. There is a small snippet in the docs for 'shortmess' indicating that the F flag suppresses autocmd output, but it's not easy to find if you don't already know to look for it. This commit removes that behavior of the F flag to make it only suppress file info when opening a new file.
* / revert: "man.vim: Ensure 'modifiable' in man#init_pager" #17791dundargoc2022-04-25
|/ | | | | | | | | | | | | This reverts commit 526798a941b4cf80fd1f128b40e51fb47c77b654. This will make man filetype not modifiable by default, as it is the superior behavior in my opinion. More importantly, also make it possible for a user to modify man filetypes by adding `set modifiable` in `~/.config/nvim/ftplugin/man.vim` or its equivalent. ref #11450 closes #17595 Co-authored-by: Javier López <graulopezjavier@gmail.com>
* Merge pull request #18234 from zeertzjq/cursearch-reduce-redrawzeertzjq2022-04-25
|\ | | | | perf: only redraw for CurSearch when it is currently in use
| * perf: only redraw for CurSearch when it is currently in usezeertzjq2022-04-25
| | | | | | | | | | | | The check in redraw_for_cursorline() is not needed because VALID_VIRTCOL is always cleared when the cursor moves to another line, so the check in redraw_for_cursorcolumn() is enough.
* | refactor: convert macros to all-caps (#17895)dundargoc2022-04-24
| | | | | | Closes https://github.com/neovim/neovim/issues/6297
* | refactor: enable Wconversion warning for diff (#18094)dundargoc2022-04-24
| | | | | | Work on https://github.com/neovim/neovim/issues/567
* | Merge pull request #18110 from dundargoc/refactor/remove-char_uGregory Anders2022-04-24
|\ \ | | | | | | refactor: replace char_u variables and functions with char
| * | refactor: add function xstrnsaveDundar Goc2022-04-16
| | | | | | | | | | | | | | | | | | | | | xstrnsave is a clone of vim_strnsave that uses char* instead of char_u*. Its purpose short-term is to help reduce the number of casts and for long-term to replace vim_strnsave as the need to use char_u is eliminated.
| * | refactor: replace char_u variables and functions with charDundar Göc2022-04-16
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459