aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #18478 from bfredl/gridfilebfredl2022-05-09
|\ | | | | refactor(grid): move out grid_* functions from screen.c
| * refactor(grid): move out grid_* functions from screen.cbfredl2022-05-08
| | | | | | | | | | Also normalize some types. use "size_t" for unsigned array offsets. Fix -Wconversion issues missed as screen.c is missing this check.
* | fix(lsp): detach spawned LSP server processes (#18477)Gregory Anders2022-05-08
|/ | | | | | | | 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.
* vim-patch:partial:d899e5112079 (#18474)Sean Dewar2022-05-08
| | | | | | | | | | | | 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?
* vim-patch:8.2.4908: no text formatting for // comment after a statement (#18472)zeertzjq2022-05-08
| | | | | 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
* vim-patch:8.2.4907: some users do not want a line comment always inserted ↵Christian Clason2022-05-07
| | | | | | | | (#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
* Merge pull request #18425 from dundargoc/refactor/char_u/1bfredl2022-05-07
|\ | | | | refactor: replace char_u variables and functions with char
| * refactor: replace char_u variables and functions with charDundar Goc2022-05-07
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | Merge pull request #18460 from bfredl/decor33bfredl2022-05-07
|\ \ | | | | | | refactor(decor): use decor levels properly
| * | refactor(decor): use decor levels properlybfredl2022-05-07
| | |
* | | Merge pull request #18450 from ↵bfredl2022-05-07
|\ \ \ | |/ / |/| | | | | | | | dundargoc/build/clint/remove-function-size-warning build(clint): remove "function size is too large" warning
| * | build(clint): remove "function size is too large" warningDundar Goc2022-05-06
| |/ | | | | | | | | | | | | | | 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.
* | docs: change wrap_at type to number (#18456)Noval Maulana2022-05-07
| |
* | Merge pull request #18457 from famiu/feat/api/nvim_parse_cmdbfredl2022-05-07
|\ \ | | | | | | fix(api): make `nvim_parse_cmd` work correctly with both range and count
| * | fix(api): make `nvim_parse_cmd` work correctly with both range and countFamiu Haque2022-05-07
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #18455 from zeertzjq/extmarksplicezeertzjq2022-05-07
|\ \ \ | | | | | | | | fix(extmarks): revert to int for extmark row
| * | | fix(extmarks): revert to int for extmark rowzeertzjq2022-05-07
| |/ /
* | | Merge pull request #18444 from zeertzjq/ci-unsigned-charJames McCoy2022-05-06
|\ \ \ | |/ / |/| | ci: add a check with -funsigned-char
| * | ci: add a check with -funsigned-charzeertzjq2022-05-06
| | |
* | | Merge pull request #18452 from dundargoc/vim-8.2.4469zeertzjq2022-05-07
|\ \ \ | | | | | | | | vim-patch:8.2.4469: Coverity warns for uninitialized variable
| * | | vim-patch:8.2.4469: Coverity warns for uninitialized variableDundar Goc2022-05-06
|/ / / | | | | | | | | | | | | | | | Problem: Coverity warns for uninitialized variable. Solution: Set the value to zero. https://github.com/vim/vim/commit/05c1734c4f70a0d7fb2f06444e26afda018f8795
* | / fix(lsp): skip clients without rename capability (#18449)Mathias Fußenegger2022-05-06
| |/ |/| | | | | | | 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
* | Merge pull request #18302 from dundargoc/refactor/enable-conversion-warning/editbfredl2022-05-06
|\ \ | | | | | | refactor: enable -Wconversion warning for edit.c
| * | refactor: enable -Wconversion warning for edit.cDundar Goc2022-05-06
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | vim-patch:8.2.4881: "P" in Visual mode still changes some registers (#18445)zeertzjq2022-05-06
|/ / | | | | | | | | | | 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
* | Merge pull request #18442 from dundargoc/uncrustifybfredl2022-05-06
|\ \ | | | | | | refactor: upgrade uncrustify configuration to version 0.75
| * | refactor: upgrade uncrustify configuration to version 0.75Dundar Goc2022-05-06
| | |
| * | refactor: move macro definiton outside of enumsDundar Goc2022-05-06
| |/ | | | | | | | | | | 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.
* | Merge pull request #18438 from famiu/feat/api/nvim_parse_cmdbfredl2022-05-06
|\ \ | |/ |/| fix(api): make `nvim_parse_cmd` propagate errors
| * fix(api): make `nvim_parse_cmd` propagate errorsFamiu Haque2022-05-05
| | | | | | | | | | 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.
* | fix(lsp): fix rename capability checks and multi client support (#18441)Mathias Fußenegger2022-05-05
| | | | | | | | | | | | | | | | 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
* | Merge pull request #18431 from famiu/feat/api/nvim_get_autocmds/group_namebfredl2022-05-05
|\ \ | | | | | | feat(api): add `group_name` to `nvim_get_autocmds`
| * | feat(api): add `group_name` to `nvim_get_autocmds`Famiu Haque2022-05-05
| | |
* | | fix(lsp): make sure to always reset active codelens refreshes (#18331)William Boman2022-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | | Revert "ci(bsd): conditional runs for faster builds" #18437Justin M. Keyes2022-05-05
| | | | | | | | | | | | | | | The change has a syntax error. This reverts commit 3e3e9c31255cd5c01bce96c68e5b1cf8e26a9f4d.
* | | Merge pull request #18416 from dundargoc/refactor/remove-char_ubfredl2022-05-05
|\ \ \ | | | | | | | | refactor/remove char u
| * | | refactor: replace char_u variables and functions with charDundar Goc2022-05-05
| |/ / | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | | ci(bsd): conditional runs for faster builds #18434kylo2522022-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #18314 from tk-shirasaka/global-statusline-on-ext_messagesbfredl2022-05-05
|\ \ \ | |_|/ |/| | fix: display global statusline correctly with ext_messages
| * | fix: display global statusline correctly with ext_messagesshirasaka2022-05-05
| | |
* | | Merge pull request #18417 from famiu/feat/api/nvim_parse_cmdbfredl2022-05-05
|\ \ \ | |_|/ |/| | refactor(api): make `range` in `nvim_parse_cmd` an array
| * | refactor(api): make `range` in `nvim_parse_cmd` an arrayFamiu Haque2022-05-05
| |/ | | | | | | | | | | | | | | 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`.
* | vim-patch:8.2.4868: when closing help window autocmds triggered for wrong ↵zeertzjq2022-05-05
| | | | | | | | | | | | | | 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
* | vim-patch:8.2.4867: listing of mapping with K_SPECIAL is wrong (#18419)zeertzjq2022-05-05
| | | | | | | | | | | | | | | | | | 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.
* | vim-patch:8.2.4865: :startinsert right after :stopinsert may not work (#18418)zeertzjq2022-05-05
|/ | | | | | 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
* Merge pull request #18386 from ii14/version_dict_prereleasebfredl2022-05-04
|\ | | | | feat: add "prerelease" to version dict
| * feat: add "prerelease" to version dictii142022-05-03
| |
* | Merge pull request #18413 from dundargoc/refactor/remove-char_u-autocmdGregory Anders2022-05-04
|\ \ | | | | | | refactor/remove char u autocmd
| * | refactor: replace char_u variables and functions with charDundar Goc2022-05-04
|/ / | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | Merge pull request #18387 from dundargoc/refactor/remove-char_ubfredl2022-05-04
|\ \ | | | | | | refactor: replace char_u variables and functions with char