aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Merge pull request #19556 from zeertzjq/vim-9.0.0061zeertzjq2022-07-28
|\ \ | | | | | | vim-patch:9.0.{0061,partial:0077,0094}
| * | 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
* | Merge pull request #19554 from zeertzjq/vim-9.0.0095zeertzjq2022-07-28
|\ \ | | | | | | vim-patch:9.0.{0095,0096}: remove dead code
| * | 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
* | | feat(lsp): provide feedback if server can't compute rename result (#19546)Mathias Fußenegger2022-07-27
| | | | | | | | | | | | | | | 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.
* | | fix(lsp): set workspace.configuration capability (#19548)Mathias Fußenegger2022-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neovim implements `workspace/configuration` It should set the capability accordingly. From https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#clientCapabilities: /** * The client supports `workspace/configuration` requests. * * @since 3.6.0 */ configuration?: boolean;
* | | 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
* | | vim-patch:9.0.0088: pattern for detecting bitbake files is not sufficient ↵Gregory Anders2022-07-27
| |/ |/| | | | | | | | | | | (#19547) Problem: Pattern for detecting bitbake files is not sufficient. Solution: Adjust the pattern. (Gregory Anders, closes vim/vim#10743) https://github.com/vim/vim/commit/30e212dac1d29536883c36918a465a38d81d6413
* | vim-patch:9.0.0090: no error when assigning bool to a string option (#19539)zeertzjq2022-07-27
|/ | | | | Problem: No error when assigning bool to a string option with setwinvar(). Solution: Give an error (closes vim/vim#10766) https://github.com/vim/vim/commit/28f84e17b068daca2635692d279930dcb7a150d0
* Merge pull request #19518 from dundargoc/build/openbsd/no-versionsJames McCoy2022-07-27
|\ | | | | ci(openbsd): don't specify versions for dependencies if possible
| * ci(openbsd): don't specify versions for dependencies if possibleDundar Goc2022-07-26
| | | | | | | | | | | | | | | | | | | | It's more convenient to not specify the version and let openbsd's package manager figure it out. This will help us avoid manually bumping dependency versions when a new version of openbsd is released. Some packages have multiple versions and not specifying a version in those cases fails the CI job, so providing a version seems to be necessary for some key packages.
* | Merge pull request #19531 from zeertzjq/vim-8.2.4623zeertzjq2022-07-27
|\ \ | | | | | | vim-patch:8.2.{4623,4625}: coverity warnings
| * | vim-patch:8.2.4625: old Coverity warning for resource leakzeertzjq2022-07-27
| | | | | | | | | | | | | | | | | | Problem: Old Coverity warning for resource leak. Solution: Call FreeWild() if expanding matches did not fail. https://github.com/vim/vim/commit/90da27b9277d74521202e5c146a09056696898ee
| * | vim-patch:8.2.4623: Coverity warns for using uninitialized fieldzeertzjq2022-07-27
|/ / | | | | | | | | | | | | | | Problem: Coverity warns for using uninitialized field. Solution: Initialize he field to zero. https://github.com/vim/vim/commit/03a297c63f1512ba9783104a343dc7e2024e0bb0 Also only initialize used fields in f_fullcommand().
* | fix(options): properly free string options (#19510)zeertzjq2022-07-27
| |
* | vim-patch:9.0.0081: command line completion of user command may have ↵zeertzjq2022-07-27
| | | | | | | | | | | | | | | | | | duplicates (#19529) Problem: Command line completion of user command may have duplicates. (Dani Dickstein) Solution: Skip global user command if an identical buffer-local one is defined. (closes vim/vim#10797) https://github.com/vim/vim/commit/c2842adfb2ca0637f13e2793fefa18e7818684f9
* | Merge pull request #19528 from zeertzjq/vim-9.0.0051zeertzjq2022-07-27
|\ \ | | | | | | vim-patch:9.0.{0051,0082,0083,0086}: cmdline fixes
| * | vim-patch:9.0.0086: tabline is not redrawn when entering command linezeertzjq2022-07-27
| | | | | | | | | | | | | | | | | | Problem: Tabline is not redrawn when entering command line. Solution: Set "redraw_tabline". (closes vim/vim#10771) https://github.com/vim/vim/commit/6791adca53981666f0cf23e264e102b795224044
| * | vim-patch:9.0.0083: ModeChanged event not triggered when leaving cmdline windowzeertzjq2022-07-27
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ModeChanged event not triggered when leaving the cmdline window. Solution: Call may_trigger_modechanged(). (closes vim/vim#10791) https://github.com/vim/vim/commit/c9e8fd6fc7d2027d0645b376d95a6ed51098036c Code is already present in Nvim. Add some other related missing changes.
| * | vim-patch:9.0.0082: cannot interrupt global command from command linezeertzjq2022-07-27
| | | | | | | | | | | | | | | | | | Problem: Cannot interrupt global command from command line. Solution: Reset got_int in another place. (closes vim/vim#10739) https://github.com/vim/vim/commit/3cfae39b087c2724991d385e5e8ee7d011aa8e99
| * | vim-patch:9.0.0051: using CTRL-C wih :append may hang Vimzeertzjq2022-07-27
|/ / | | | | | | | | | | Problem: Using CTRL-C wih :append may hang Vim. Solution: Reset got_int. (closes vim/vim#10729, closes vim/vim#10728) https://github.com/vim/vim/commit/f754fe6a3d5384b5146c38a32db6da9d46e00c40
* | build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)dundargoc2022-07-27
| | | | | | | | | | It currently falls back to texlua if luajit doesn't exist. However, the documentation generation does not work with texlua. Instead use lua as a fall back instead.
* | Merge pull request #19523 from ii14/vim-9.0.0085zeertzjq2022-07-27
|\ \ | | | | | | vim-patch:9.0.0085: ":write" fails after ":file name" and the ":edit"
| * | vim-patch:9.0.0085: ":write" fails after ":file name" and the ":edit"ii142022-07-26
| |/ | | | | | | | | | | Problem: ":write" fails after ":file name" and the ":edit". Solution: Reset BF_NOTEDITED when using ":edit". (closes vim/vim#10790) https://github.com/vim/vim/commit/1f0dc5e84f5cc530c0fb9d0789e3d42d644429d7
* / vim-patch:9.0.0084: using "terraform" filetype for .tfvars file is bad (#19526)Christian Clason2022-07-26
|/ | | | | | Problem: Using "terraform" filetype for .tfvars file is bad. Solution: use "terraform-vars", so that different completion and other mechanisms can be used. (Radek Simko, closes vim/vim#10755) https://github.com/vim/vim/commit/15b87b6610bfce0c6296bbbad019c944f88a74ca
* vim-patch:9.0.0073: too many files recognized as bsdl (#19504)Christian Clason2022-07-26
| | | | | | Problem: Too many files recognized as bsdl. Solution: Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij, closes vim/vim#10783) https://github.com/vim/vim/commit/1b67f07f7626b87d9ce3e16815970988983a2ddc
* Merge pull request #19514 from zeertzjq/vim-8.1.1424zeertzjq2022-07-26
|\ | | | | vim-patch:8.1.1424,9.0.0076: crash when popup menu is deleted while waiting for char
| * vim-patch:9.0.0076: no test for what patch 8.1.1424 fixeszeertzjq2022-07-26
| | | | | | | | | | | | Problem: No test for what patch 8.1.1424 fixes. Solution: Add a test. (closes vim/vim#10789) https://github.com/vim/vim/commit/92a1678d488b7d023ddf2cd493a6ee0d7fcf1928
| * vim-patch:8.1.1424: crash when popup menu is deleted while waiting for charzeertzjq2022-07-26
|/ | | | | | Problem: Crash when popup menu is deleted while waiting for char. Solution: Bail out when pum_array was cleared. https://github.com/vim/vim/commit/5c3fb04623d0260762f1c3c1ba250a407098ff2a
* Merge pull request #19512 from dundargoc/build/version-fixJames McCoy2022-07-26
|\ | | | | build: fix version generation to its previous behavior
| * build: fix version generation to its previous behaviorDundar Goc2022-07-26
| | | | | | | | | | | | | | | | | | | | | | | | This will change the version format from v0.8.0-dev-nightly-12-g1a07044c1 to v0.8.0-dev-698-ga5920e98f Closes https://github.com/neovim/neovim/issues/19499
* | vim-patch:b529cfbd04c0 (#19501)Christian Clason2022-07-26
|/ | | | Update runtime files https://github.com/vim/vim/commit/b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d
* revert: "vim-patch:9.0.0061: ml_get error with nested autocommand" (#19509)zeertzjq2022-07-26
| | | | | This reverts commit 6cee15da7235b6ba9c428ee43346415fe6a64e6c. Port this again when https://github.com/vim/vim/issues/10780 is fixed.
* fix(cmdline): trigger CmdlineEnter and ModeChanged earlier (#19474)zeertzjq2022-07-26
| | | | Match Vim's ordering in code. These tests are unrelated to ext_cmdline. Move them out of that block.
* Merge pull request #19508 from ii14/fix_older_cmake_makefilesJames McCoy2022-07-25
|\ | | | | build: fix git version generation on makefiles with older cmake versions
| * build: fix git version generation on makefiles with older cmake versionsii142022-07-26
| | | | | | | | | | | | | | When using a Makefile generator, older CMake versions are not building custom targets when depending on their byproducts, making version generation fail. (works on 3.19.4, fails on 3.10.2) As a workaround, add a dependency on the custom target explicitly.