aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* refactor: replace char_u variables and functions with charDundar Goc2022-05-11
| | | | Work on https://github.com/neovim/neovim/issues/459
* Merge pull request #18509 from zeertzjq/vim-8.2.4929zeertzjq2022-05-10
|\ | | | | vim-patch:8.2.4929: off-by-one error in in statusline item
| * test: convert two statusline oldtests to Lua screen testszeertzjq2022-05-10
| |
| * vim-patch:8.2.4929: off-by-one error in in statusline itemzeertzjq2022-05-10
|/ | | | | | Problem: Off-by-one error in in statusline item. Solution: Subtrace one less. (closes vim/vim#10394, closes vim/vim#5599) https://github.com/vim/vim/commit/57ff52677bf5ba1651281ffe40505df8feba4a36
* vim-patch:8.2.4911: the mode #defines are not clearly named (#18499)zeertzjq2022-05-10
| | | | | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first. https://github.com/vim/vim/commit/249591057b4840785c50e41dd850efb8a8faf435 A hunk from the patch depends on patch 8.2.4861, which hasn't been ported yet, but that should be easy to notice.
* docs(lsp): fix description of `only` in vim.lsp.buf.code_action() (#18492)Fredrik Ekre2022-05-09
|
* vim-patch:8.2.4925: trailing backslash may cause reading past end of line ↵zeertzjq2022-05-09
| | | | | | | | | | | | | | | (#18493) Problem: Trailing backslash may cause reading past end of line. Solution: Check for NUL after backslash. https://github.com/vim/vim/commit/53a70289c2712808e6d4e88927e03cac01b470dd N/A patches for version.c: vim-patch:8.2.4926: #ifdef for crypt feature around too many lines Problem: #ifdef for crypt feature around too many lines. Solution: Move code outside of #ifdef. (closes vim/vim#10388) https://github.com/vim/vim/commit/51f0bc31d3cf512508419064faac0e5b7e52c98b
* Merge pull request #18491 from zeertzjq/vim-8.2.4924zeertzjq2022-05-09
|\ | | | | vim-patch:8.2.4924: maparg() may return a string that cannot be reused
| * vim-patch:8.2.4924: maparg() may return a string that cannot be reusedzeertzjq2022-05-09
|/ | | | | | | Problem: maparg() may return a string that cannot be reused. Solution: use msg_outtrans_special() instead of str2special(). (closes vim/vim#10384) https://github.com/vim/vim/commit/0519ce00394474055bd58c089ea90a19986443eb
* Merge pull request #18490 from zeertzjq/vim-8.2.4918zeertzjq2022-05-09
|\ | | | | vim-patch:8.2.{4918,4923}: conceal character from matchadd() displayed too many times
| * vim-patch:8.2.4923: test checks for terminal feature unnecessarilyzeertzjq2022-05-09
| | | | | | | | | | | | Problem: Test checks for terminal feature unnecessarily. Solution: Remove CheckRunVimInTerminal. (closes vim/vim#10383) https://github.com/vim/vim/commit/194843028ed486366b89e8f7d3bdd611a11ce7b4
| * vim-patch:8.2.4918: conceal character from matchadd() displayed too many timeszeertzjq2022-05-09
|/ | | | | | Problem: Conceal character from matchadd() displayed too many times. Solution: Check the syntax flag. (closes vim/vim#10381, closes vim/vim#7268) https://github.com/vim/vim/commit/9830db63057db76044eca89cc4cfb2758ae7a543
* Merge pull request #18485 from zeertzjq/vim-8.2.4915zeertzjq2022-05-09
|\ | | | | vim-patch:8.2.{4916,4922}: mouse in Insert mode test fails
| * vim-patch:8.2.4922: mouse test fails on MS-Windowszeertzjq2022-05-09
| | | | | | | | | | | | Problem: Mouse test fails on MS-Windows. Solution: Set 'mousemodel' to "extend". https://github.com/vim/vim/commit/b370771bffc8395204f53209b69e35dff95a9237
| * vim-patch:8.2.4916: mouse in Insert mode test failszeertzjq2022-05-09
|/ | | | | | | | | Problem: Mouse in Insert mode test fails. Solution: Fix the text and check relevant positions. https://github.com/vim/vim/commit/8e8dc9b32326c6fbd37671b6072296404b481d4a Use nvim_input_mouse() to set mouse position, and discard mouse event using getchar().
* Merge pull request #18466 from dundargoc/refactor/remove-char_ubfredl2022-05-09
|\ | | | | refactor: replace char_u variables and functions with char
| * refactor: replace char_u variables and functions with charDundar Goc2022-05-09
|/ | | | Work on https://github.com/neovim/neovim/issues/459
* feat: cmdline funcs (#18284)Shougo2022-05-09
| | | | | | | | | | | | | | vim-patch:8.2.4903: cannot get the current cmdline completion type and position Problem: Cannot get the current cmdline completion type and position. Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita, closes vim/vim#10344) https://github.com/vim/vim/commit/79d599b8772022af1d657f368c2fc97aa342c0da vim-patch:8.2.4910: imperfect coding Problem: Imperfect coding. Solution: Make code nicer. https://github.com/vim/vim/commit/9ff7d717aa3176de5c61de340deb93f41c7780fc
* 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`