| Commit message (Collapse) | Author | Age |
|\
| |
| | |
refactor(grid): move out grid_* functions from screen.c
|
| |
| |
| |
| |
| | |
Also normalize some types. use "size_t" for unsigned array offsets.
Fix -Wconversion issues missed as screen.c is missing this check.
|
|/
|
|
|
|
|
|
| |
LSP servers should be daemonized (detached) so that they run in a
separate process group from Neovim's. Among other things, this ensures
the process does not inherit Neovim's TTY (#18475).
Make this configurable so that clients can explicitly opt-out of
detaching from Nvim.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update runtime files
https://github.com/vim/vim/commit/d899e51120798d3fb5420abb1f19dddf3f014d05
- Skip vimhelp.vim stuff (syntax/help.vim, syntax.txt; v8.2.4891).
- Skip :let heredoc eval stuff (eval.txt; v8.2.4770).
- Skip uk.cp1251.po.
- Skip `*hl-CurSearch*` change (syntax.txt):
- Vim's CurSearch works differently (Nvim's uses current cursor pos).
Dunno know how applicable the redrawing comment is to Nvim...
- Might be preferred to move it under `*hl-Search*` like Vim?
|
|
|
|
|
| |
Problem: No text formatting for // comment after a statement.
Solution: format a comment when the 'c' flag is in 'formatoptions'.
https://github.com/vim/vim/commit/48a8a833033e10fc1eba96f2fc8dd19c2408eddf
|
|
|
|
|
|
|
|
| |
(#18463)
Problem: Some users do not want a line comment always inserted.
Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
leader after a statement when using "o".
https://github.com/vim/vim/commit/2bf875f881f7c6f6900bc0eb2a93a552db894109
|
|\
| |
| | |
refactor: replace char_u variables and functions with char
|
| |
| |
| |
| | |
Work on https://github.com/neovim/neovim/issues/459
|
|\ \
| | |
| | | |
refactor(decor): use decor levels properly
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
dundargoc/build/clint/remove-function-size-warning
build(clint): remove "function size is too large" warning
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This warning is essentially only triggered for ported vim functions.
It's unlikely that we'll refactor vim functions solely based on their
size since it'd mean we'd greatly deviate from vim, which is a high cost
when it comes to importing the vim patches. Thus, this warning only
serves as an annoyance and should be removed.
|
| | |
|
|\ \
| | |
| | | |
fix(api): make `nvim_parse_cmd` work correctly with both range and count
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It seems range and count can be used together in commands. This PR fixes
the behavior of `nvim_parse_cmd` for those cases by removing the mutual
exclusivity of "range" and "count". It also removes range line number
validation for `nvim_parse_cmd` as it's not its job to validate the
command.
|
|\ \ \
| | | |
| | | | |
fix(extmarks): revert to int for extmark row
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
ci: add a check with -funsigned-char
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.4469: Coverity warns for uninitialized variable
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
https://github.com/vim/vim/commit/05c1734c4f70a0d7fb2f06444e26afda018f8795
|
| |/
|/|
| |
| |
| | |
Follow up to https://github.com/neovim/neovim/pull/18441
This way rename should "just work" in most cases without having to
manually filter the client
|
|\ \
| | |
| | | |
refactor: enable -Wconversion warning for edit.c
|
| | |
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/567
|
|/ /
| |
| |
| |
| |
| | |
Problem: "P" in Visual mode still changes some registers.
Solution: Make "P" in Visual mode not change any register. (Shougo
Matsushita, closes vim/vim#10349)
https://github.com/vim/vim/commit/509142ab7a9db32114b6d0949722b9133c9c22f2
|
|\ \
| | |
| | | |
refactor: upgrade uncrustify configuration to version 0.75
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Uncrustify version 0.75 assumes the macro inside the enum is an enum
element, and thus adds a comma after it. This breaks neovim and makes it
impossible to build it.
|
|\ \
| |/
|/| |
fix(api): make `nvim_parse_cmd` propagate errors
|
| |
| |
| |
| |
| | |
Makes `nvim_parse_cmd` propagate any errors that occur while parsing to
give the user a better idea of what's wrong with the command.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adds filter and id options to filter the client to use for rename.
Similar to the recently added `format` function.
rename will use all matching clients one after another and can handle a
mix of prepareRename/rename support. Also ensures the right
`offset_encoding` is used for the `make_position_params` calls
|
|\ \
| | |
| | | |
feat(api): add `group_name` to `nvim_get_autocmds`
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes issues where subsequent calls to vim.lsp.codelens.refresh()
would have no effect due to the buffer not getting cleared from the
active_refresh table.
Examples of how such scenarios would occur are:
- A textDocument/codeLens result yielded an error.
- The 'textDocument/codeLens' handler was overriden in such a way that
it no longer called vim.lsp.codelens.on_codelens().
|
| | |
| | |
| | |
| | |
| | | |
The change has a syntax error.
This reverts commit 3e3e9c31255cd5c01bce96c68e5b1cf8e26a9f4d.
|
|\ \ \
| | | |
| | | | |
refactor/remove char u
|
| |/ /
| | |
| | |
| | | |
Work on https://github.com/neovim/neovim/issues/459
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sourcehut undocumented feature for conditionally running tasks.
The current condition is based on git's pathspec, see `man gitglossary(7)`, to
skip commits that only changed files under `.github/*`.
refs
- https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
- https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C3cd90a91b7ce113bb3c5f07898c77543%40hacktivista.com%3E
- https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/tasks.go#L196-198
|
|\ \ \
| |_|/
|/| | |
fix: display global statusline correctly with ext_messages
|
| | | |
|
|\ \ \
| |_|/
|/| | |
refactor(api): make `range` in `nvim_parse_cmd` an array
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Changes the `range` value in `nvim_parse_cmd` into an array to describe
range information more concisely. Also makes `range` and `count` be
mutually exclusive by making count `-1` when command takes a range
instead of a count. Additionally corrects the behavior of `count` for
built-in commands by making the default count `0`.
|
| |
| |
| |
| |
| |
| |
| | |
window (#18420)
Problem: When closing help window autocmds triggered for the wrong window.
Solution: Figure out the new current window earlier. (closes vim/vim#10348)
https://github.com/vim/vim/commit/2a2707d03337d0bb7d5fd1770238809618653d4a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Listing of mapping with K_SPECIAL is wrong.
Solution: Adjust escaping of special characters. (closes vim/vim#10351)
https://github.com/vim/vim/commit/ac402f4d64bec6b6efd809fef52f5b34627bf947
Avoid overshadowing.
Cherry-pick Test_list_mapping() from Vim patches 8.2.{0148,2994}.
Fix rhs_is_noop.
|
|/
|
|
|
|
| |
Problem: :startinsert right after :stopinsert does not work when popup menu
is still visible.
Solution: Use ins_compl_active() instead of pum_visible(). (closes vim/vim#10352)
https://github.com/vim/vim/commit/cd5dbad184e8235beb13dcd8a22302da09db9766
|
|\
| |
| | |
feat: add "prerelease" to version dict
|
| | |
|
|\ \
| | |
| | | |
refactor/remove char u autocmd
|
|/ /
| |
| |
| | |
Work on https://github.com/neovim/neovim/issues/459
|
|\ \
| | |
| | | |
refactor: replace char_u variables and functions with char
|