aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.2.2804: setting buffer local mapping with mapset() changes globalzeertzjq2022-08-01
| | | | | | | | | | | | Problem: Setting buffer local mapping with mapset() changes global mapping. Solution: Only set the local mapping. (closes vim/vim#8143) https://github.com/vim/vim/commit/7ba1e4d363164e32a93cceab64b42e8c6d89e9f3
| * vim-patch:8.2.1773: crash when calling mapset() with a list as first argumentzeertzjq2022-08-01
| | | | | | | | | | | | Problem: Crash when calling mapset() with a list as first argument. Solution: Check for NULL. (closes vim/vim#7040) https://github.com/vim/vim/commit/1b9129809d8269acb8e7c79d8fc99c7976b4f76e
| * vim-patch:8.2.0815: maparg() does not provide enough information for mapset()zeertzjq2022-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: maparg() does not provide enough information for mapset(). Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified" https://github.com/vim/vim/commit/9c65253fe702ea010afec11aa971acd542c35de2 vim-patch:9.0.0127: unused variable Problem: Unused variable. Solution: Remove the variable. (closes vim/vim#10829) https://github.com/vim/vim/commit/e95f22f63a1871b91e5508088e5ae4905ce28cd7
| * vim-patch:8.2.0812: mapset() does not properly handle <> notationzeertzjq2022-08-01
| | | | | | | | | | | | Problem: mapset() does not properly handle <> notation. Solution: Convert <> codes. (closes vim/vim#6116) https://github.com/vim/vim/commit/c94c1467b9b86156a6b7c8d3e41ff01c13d2be07
| * vim-patch:8.2.0807: cannot easily restore a mappingzeertzjq2022-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily restore a mapping. Solution: Add mapset(). https://github.com/vim/vim/commit/4c9243f9fb708c9010867d3cc8e928f36b58509a Use MapArgument to reduce number of arguments of map_add(). N/A patches for version.c: vim-patch:8.2.0809: build failure with small features Problem: Build failure with small features. (Tony Mechelynck) Solution: Move "expr" inside #ifdef. https://github.com/vim/vim/commit/5a80f8ad5dc0b2cc63400255dcf3c63f6c1a2ef9
| * feat(api): add replace_keycodes to nvim_set_keymap (#19598)ii142022-08-01
| |
| * fix(session): respect sessionoptions=terminal #19497Gustavo Sampaio2022-08-01
| | | | | | | | | | fixes #13078 Co-authored-by: Yuta Katayama <8683947+yutkat@users.noreply.github.com>
| * refactor: replace_makeprg (#19570)Lewis Russell2022-08-01
| |
| * test(old): unskip test that already passeszeertzjq2022-08-01
| |
| * vim-patch:9.0.0124: code has more indent than neededzeertzjq2022-08-01
| | | | | | | | | | | | Problem: Code has more indent than needed. Solution: Use continue and return statements. (closes vim/vim#10824) https://github.com/vim/vim/commit/101d57b34b72f4fbc7df1b6edfd64c64a6be14fc
| * Merge pull request #19437 from dundargoc/refactor/char_u-to-charbfredl2022-07-31
| |\ | | | | | | refactor: replace char_u with char
| | * refactor: replace char_u with charDundar Goc2022-07-31
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis (#19586)Munif Tanjim2022-07-31
| | |
| * | vim-patch:9.0.0118: no test for what patch 9.0.0155 fixeszeertzjq2022-07-31
| | | | | | | | | | | | | | | | | | Problem: No test for what patch 9.0.0155 fixes. Solution: Add a test. Fix typos. (closes vim/vim#10822) https://github.com/vim/vim/commit/750209459c9e54030409afe8f4ad59570600b5c4
| * | vim-patch:9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a windowShougo Matsushita2022-07-31
| | | | | | | | | | | | | | | | | | Problem: When 'cmdheight' is zero pressing ':' may scroll a window. Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero. https://github.com/vim/vim/commit/6747cf1671bd41cddee77c65b3f9a70509f968db
| * | vim-patch:9.0.0114: the command line takes up space even when not usedShougo Matsushita2022-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The command line takes up space even when not used. Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita, closes vim/vim#10675, closes vim/vim#940) https://github.com/vim/vim/commit/f39cfb72629f3e7fefaf578a3faa2619cd0654f8 Omit win_redr_ruler() change: winbar may still need redraw. Omit win_update() changes: Nvim doesn't use `Rows` there. Omit redraw_asap(): removed.
| * | docs: fix typos (#19024)dundargoc2022-07-31
| | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Valery Viktorovsky <viktorovsky@gmail.com>
| * | cmdheight=0: fix bugs part2 (#19185)Shougo2022-07-31
| | |
| * | vim-patch:9.0.0111: "nocombine" is missing from synIDattr()Christian Clason2022-07-31
| |/ | | | | | | | | | | Problem: "nocombine" is missing from synIDattr(). Solution: Add "nocombine". (Munif Tanjim, closes vim/vim#10816) https://github.com/vim/vim/commit/de78632c41d870d5254e9ccd285f53674b955f4e
| * vim-patch:9.0.0109: writing over the end of a buffer on stack (#19581)zeertzjq2022-07-31
| | | | | | | | | | | | Problem: Writing over the end of a buffer on stack when making list of spell suggestions. Solution: Make sure suggested word is not too long. (closes vim/vim#10812) https://github.com/vim/vim/commit/1eead4cf1daf87ee41aeb4de3b3e38708417f9d5
| * refactor: enable -Wconversion warning for screen.cDundar Goc2022-07-30
| | | | | | | | Closes https://github.com/neovim/neovim/issues/567
| * fix(terminal): avoid reading over the end of cell.chars (#19580)zeertzjq2022-07-30
| |
| * refactor: enable -Wconversion warning for spell.c (#19538)dundargoc2022-07-30
| | | | | | Work on https://github.com/neovim/neovim/issues/567
| * fix(screen): check for col instead of vcol when drawing fold (#19572)zeertzjq2022-07-29
| |
| * refactor: fix clang and PVS warnings (#19569)zeertzjq2022-07-29
| | | | | | | | The last commit didn't actually disable V1028 because of a typo. Fix the typo so it is actually disabled.
| * refactor: enable -Wconversion warning for syntax.c (#19533)dundargoc2022-07-29
| | | | | | Work on https://github.com/neovim/neovim/issues/567
| * vim-patch:9.0.0101: invalid memory access in diff mode with "dp" and undo ↵zeertzjq2022-07-29
| | | | | | | | | | | | | | (#19568) Problem: Invalid memory access in diff mode with "dp" and undo. Solution: Make sure the line number does not go below one. https://github.com/vim/vim/commit/4e677b9c40ccbc5f090971b31dc2fe07bf05541d
| * vim-patch:9.0.0026: accessing freed memory with diff put (#19564)zeertzjq2022-07-29
| | | | | | | | | | Problem: Accessing freed memory with diff put. Solution: Bail out when diff pointer is no longer valid. https://github.com/vim/vim/commit/c5274dd12224421f2430b30c53b881b9403d649e
| * Merge pull request #19486 from dundargoc/refactor/conversionThomas Vigouroux2022-07-28
| |\ | | | | | | refactor: enable -Wconversion warning for lua/treesitter.c
| | * refactor: enable -Wconversion warning for lua/treesitter.cDundar Goc2022-07-28
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | vim-patch:9.0.0099: scrollback can be wrong after redrawing the command line ↵zeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | | | | (#19562) Problem: Scrollback can be wrong after redrawing the command line. Solution: Clear unfinished scrollback when redrawing. (closes vim/vim#10807) https://github.com/vim/vim/commit/46af7bc08debbf408d025680eeef136fb3b528ef
| * | vim-patch:9.0.0097: long quickfix line is truncated for :clist (#19561)zeertzjq2022-07-28
| | | | | | | | | | | | | | | Problem: Long quickfix line is truncated for :clist. Solution: Allocate a buffer if needed. https://github.com/vim/vim/commit/5f30e26f6946f0d0396499f91fbcfaa9d1f8acf7
| * | refactor: enable -Wconversion warning for spellfile.c (#19527)dundargoc2022-07-28
| | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | vim-patch:9.0.0094: cursor restored unexpected with nested autocommandzeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | | | | Problem: Cursor restored unexpected with nested autocommand. Solution: Do not restore the cursor when it was moved intentionally. (closes vim/vim#10780) https://github.com/vim/vim/commit/3d6ee8bda0550a01346f5992bbce09c0eb6d7569
| * | vim-patch:partial:9.0.0077: wrong restored cursor position when switching ↵zeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | window in autocmd Problem: When switching window in autocmd the restored cursor position may be wrong. Solution: Do not restore the cursor if it was not set. (closes vim/vim#10775) https://github.com/vim/vim/commit/b03950fafa07e8b8d975eeb345ad08b8b62e67ce This patch cannot be fully ported because it depends on patch 8.2.3518.
| * | vim-patch:9.0.0061: ml_get error with nested autocommandzeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | Problem: ml_get error with nested autocommand. Solution: Also check line numbers for a nested autocommand. (closes vim/vim#10761) https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089
| * | vim-patch:8.2.3912: the ins_complete() function is much too long (#19555)zeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | Problem: The ins_complete() function is much too long. Solution: Split it up into multiple functions. (Yegappan Lakshmanan, closes vim/vim#9414) https://github.com/vim/vim/commit/bf7ff61af490a2fbc0d9c7d42f3bb7eb7d37127e
| * | vim-patch:9.0.0096: flag "new_value_alloced" is always truezeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | Problem: Flag "new_value_alloced" is always true. Solution: Remove "new_value_alloced". (closes vim/vim#10792) https://github.com/vim/vim/commit/f6782732ab4acd02211923fbdccb457dacaf277e
| * | vim-patch:9.0.0095: conditions are always truezeertzjq2022-07-28
| | | | | | | | | | | | | | | | | | Problem: Conditions are always true. Solution: Remove useless conditions. (closes vim/vim#10802) https://github.com/vim/vim/commit/122dea70073d140aa89212d344c3f62bd3b5b3fa
| * | refactor: enable -Wconversion warning for window.c (#19537)dundargoc2022-07-27
| | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | refactor: enable -Wconversion warning for eval/funcs.c (#19541)dundargoc2022-07-27
| | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | perf(api): optimize nvim_cmd (#19513)Lewis Russell2022-07-27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce the amount of string allocations and length calculations. With the following benchmark: ```lua total = 0 for _ = 1, loops do local start = now() vim.api.nvim_cmd({cmd = 'let', args = {'a', '=', '1'}}, {}) total = total + (now() - start) end print('nvim_cmd', total / loops) ``` ``` hyperfine 'nvim --clean test.lua +source +q' ``` Before: 234.5ms After: 173.8ms
| * refactor: enable -Wconversion warning for regexp files (#19521)dundargoc2022-07-28
| | | | | | Work on https://github.com/neovim/neovim/issues/567
| * refactor: fix clang and PVS warnings (#19532)zeertzjq2022-07-28
| |
| * vim-patch:9.0.0092: plugins cannot change v:completed_item (#19542)zeertzjq2022-07-28
| | | | | | | | | | | | Problem: Plugins cannot change v:completed_item. Solution: Make v:completed_item writeable. (Shougo Matsushita, closes vim/vim#10801) https://github.com/vim/vim/commit/61021aa318ca4c4a6b0182ee93388b2e9b5eefba
| * Merge pull request #19525 from dundargoc/refactor/conversion-searchbfredl2022-07-27
| |\ | | | | | | refactor: enable -Wconversion warning for search.c
| | * refactor: enable -Wconversion warning for search.cDundar Goc2022-07-27
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | Merge pull request #19516 from dundargoc/refactor/conversion-mbytebfredl2022-07-27
| |\ \ | | | | | | | | refactor: enable -Wconversion warning for mbyte.c
| | * | refactor: enable -Wconversion warning for mbyte.cDundar Goc2022-07-27
| | | | | | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | | vim-patch:9.0.0093: sway config files are recognized as i3config (#19545)Christian Clason2022-07-27
| | | | | | | | | | | | | | | | | | | | Problem: Sway config files are recognized as i3config. Solution: Recognize swayconfig separately. (James Eapen, closes vim/vim#10672) https://github.com/vim/vim/commit/7abd1c6d8e777bde1700633bafc1a40be9e9c1aa