| Commit message (Collapse) | Author | Age |
... | |
| | | |
|
| |\ \
| | | |
| | | | |
vim-patch:9.0.{0114,0115,0118}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Valery Viktorovsky <viktorovsky@gmail.com>
|
| | | |
|
| |\ \
| | |/
| |/| |
vim-patch:9.0.0111: "nocombine" is missing from synIDattr()
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Problem: "nocombine" is missing from synIDattr().
Solution: Add "nocombine". (Munif Tanjim, closes vim/vim#10816)
https://github.com/vim/vim/commit/de78632c41d870d5254e9ccd285f53674b955f4e
|
| |
| |
| |
| |
| |
| | |
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.c
|
| |/
| |
| |
| | |
Closes https://github.com/neovim/neovim/issues/567
|
| |
| |
| |
| | |
Update runtime files
https://github.com/vim/vim/commit/2ecbe53f452e92e941aff623f6a0b72f80e43d07
|
| | |
|
| |
| |
| | |
Work on https://github.com/neovim/neovim/issues/567
|
| | |
|
| |
| |
| |
| | |
The last commit didn't actually disable V1028 because of a typo.
Fix the typo so it is actually disabled.
|
| |
| |
| |
| |
| | |
Most casts where PVS warns for V1028 aren't added to prevent overflows
in the first place, but to avoid other warnings, like printf argument or
-Wconversion warnings. PVS/V1028 is more annoying than useful.
|
| |
| |
| | |
Work on https://github.com/neovim/neovim/issues/567
|
| |
| |
| |
| |
| |
| |
| | |
(#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
|
| |
| |
| |
| |
| | |
Problem: Accessing freed memory with diff put.
Solution: Bail out when diff pointer is no longer valid.
https://github.com/vim/vim/commit/c5274dd12224421f2430b30c53b881b9403d649e
|
| |
| |
| |
| | |
Also changes `@see` to `See` to avoid the break to a dedicated "See
also" block in the generated vimdoc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`code_action` gained extra functions (`filter` and `apply`) which
`range_code_action` didn't have.
To close this gap, this adds a `range` option to `code_action` and
deprecates `range_code_action`.
The option defaults to the current selection if in visual mode.
This allows users to setup a mapping like `vim.keymap.set({'v', 'n'},
'<a-CR>', vim.lsp.buf.code_action)`
`range_code_action` used to use the `<` and `>` markers to get the
_last_ selection which required using a `<Esc><Cmd>lua
vim.lsp.buf.range_code_action()<CR>` (note the `<ESC>`) mapping.
|
| | |
|
| |\
| | |
| | | |
refactor: enable -Wconversion warning for lua/treesitter.c
|
| | |
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#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
|
| | |
| | |
| | |
| | |
| | | |
Problem: Long quickfix line is truncated for :clist.
Solution: Allocate a buffer if needed.
https://github.com/vim/vim/commit/5f30e26f6946f0d0396499f91fbcfaa9d1f8acf7
|
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
| | | |
|
| |\ \
| | | |
| | | | |
vim-patch:9.0.{0061,partial:0077,0094}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.{0095,0096}: remove dead code
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Flag "new_value_alloced" is always true.
Solution: Remove "new_value_alloced". (closes vim/vim#10792)
https://github.com/vim/vim/commit/f6782732ab4acd02211923fbdccb457dacaf277e
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Problem: Conditions are always true.
Solution: Remove useless conditions. (closes vim/vim#10802)
https://github.com/vim/vim/commit/122dea70073d140aa89212d344c3f62bd3b5b3fa
|
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| | |
Work on https://github.com/neovim/neovim/issues/567
|
| | |
|
| |
| |
| |
| |
| |
| | |
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
|
| |\
| | |
| | | |
refactor: enable -Wconversion warning for search.c
|
| | |
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
| |\ \
| | | |
| | | | |
refactor: enable -Wconversion warning for mbyte.c
|
| | | |
| | | |
| | | |
| | | | |
Work on https://github.com/neovim/neovim/issues/567
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Without some form of feedback a user cannot easily tell if the server is
still computing the result (which can take a while in large projects),
or whether the server couldn't compute the rename result.
|