aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.{0695,0725,0734,0753,0818,0819,0822} (#23075)zeertzjq2023-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.0695: Vim9: cannot define a function inside a function Problem: Vim9: cannot define a function inside a function. Solution: Initial support for :def inside :def. https://github.com/vim/vim/commit/04b12697838b232b8b17c553ccc74cf1f1bdb81c vim-patch:8.2.0725: Vim9: cannot call a function declared later in Vim9 script Problem: Vim9: cannot call a function declared later in Vim9 script. Solution: Make two passes through the script file. https://github.com/vim/vim/commit/09689a02840be40fa7bb10b1921fb5bc5b2908f1 vim-patch:8.2.0734: Vim9: leaking memory when using :finish Problem: Vim9: leaking memory when using :finish. Solution: Do not check for next line in third pass. https://github.com/vim/vim/commit/04816717dfea6e2469ff4c9d40f68b59aaf03724 vim-patch:8.2.0753: Vim9: expressions are evaluated in the discovery phase Problem: Vim9: expressions are evaluated in the discovery phase. Solution: Bail out if an expression is not a constant. Require a type for declared constants. https://github.com/vim/vim/commit/32e351179eacfc84f64cd5029e221582d400bb38 vim-patch:8.2.0818: Vim9: using a discovery phase doesn't work well Problem: Vim9: using a discovery phase doesn't work well. Solution: Remove the discovery phase, instead compile a function only when it is used. Add :defcompile to compile def functions earlier. https://github.com/vim/vim/commit/822ba24743af9ee1b5e7f656a7a61a38f3638bca vim-patch:8.2.0819: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Remove the variable. https://github.com/vim/vim/commit/f40e51a880a95f94dbbbecc9476559506c2cc345 vim-patch:8.2.0822: Vim9: code left over from discovery phase Problem: Vim9: code left over from discovery phase. Solution: Remove the dead code. https://github.com/vim/vim/commit/2eec37926db6d31beb36f162ac00357a30c093c8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | Merge pull request #23071 from luukvbaal/sloclaterzeertzjq2023-04-14
|\ \ | | | | | | fix: winbar is not redrawn on window change when 'showcmdloc' is "statusline"
| * | test(winbar_spec): properly update winbar when 'showcmdloc' is "statusline"quintik2023-04-14
| | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
| * | vim-patch:9.0.1451: unnecessary redrawing when 'showcmdloc' is not "last"Luuk van Baal2023-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Unnecessary redrawing when 'showcmdloc' is not "last". Solution: Redraw later when "showcmd_is_clear" is set. (Luuk van Baal, closes vim/vim#12260) https://github.com/vim/vim/commit/aa7f25ebf16b8be99239af1134b441e3da93060a
* | | test: remove penlight usagedundargoc2023-04-14
| | |
* | | refactor: remove modelines from Lua filesGregory Anders2023-04-13
|/ / | | | | | | Now that we have builtin EditorConfig support and a formatting check in CI, these are not necessary.
* | fix(loader): reset hashes when running the loaderLewis Russell2023-04-13
| |
* | Merge pull request #23064 from bfredl/nolinkbfredl2023-04-13
|\ \ | | | | | | fix(api): make nvim_get_hl not return non-existing groups
| * | fix(api): make nvim_get_hl not return non-existing groupsbfredl2023-04-13
| | | | | | | | | | | | fixes #23063
* | | build(vim-patch.sh): ignore test_behave.vim (#23062)zeertzjq2023-04-13
|/ /
* | Merge pull request #23054 from bfredl/nobehavebfredl2023-04-13
|\ \ | | | | | | feat(ex_cmds)!: remove :behave
| * | feat(ex_cmds)!: remove :behavebfredl2023-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | just use the individual options instead. set selection=exclusive set selectmode=mouse,key set mousemodel=popup set keymodel=startsel,stopsel
* | | vim-patch:partial:9.0.0364: clang static analyzer gives warnings (#23059)zeertzjq2023-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes vim/vim#11043) https://github.com/vim/vim/commit/c99e182e1fb54e39540d25d0ccd8dcdde25bb96c Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | | refactor: remove bugreport.vimdundargoc2023-04-12
| | | | | | | | | | | | We already have :checkhealth that essentially supersedes it with more useful error checking.
* | | build: create helper function for simplifying luarocks installationdundargoc2023-04-12
| | | | | | | | | | | | | | | The function keeps track of the previously installed rock, meaning we no longer need to manually keep track of the dependency chain. This will make adding or removing rocks much easier.
* | | vim-patch:9.0.1444: crash when passing NULL to setcmdline() (#23048)zeertzjq2023-04-12
| | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing NULL to setcmdline(). (Andreas Louv) Solution: Use tv_get_string() instead of using v_string directly. (closes vim/vim#12231, closes vim/vim#12227) https://github.com/vim/vim/commit/ac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353
* | | fix(column): add truncated width during estimation for 'statuscolumn'luukvbaal2023-04-12
| | | | | | | | | | | | | | | | | | Problem: Estimated 'statuscolumn' width estimated is not properly used, executing the `w_redr_statuscol` path unnecessarily. Solution: Adjust `w_nrwidth` and 'statuscolumn' width before anything is actually drawn in a `win_update()`.
* | | docs: add vim.lsp.buf.formatting_sync() to deprecated.txt (#23045)zeertzjq2023-04-12
| | |
* | | fix(diagnostic): rename buffer → bufnr in type annotation (#23042)Mathias Fußenegger2023-04-12
|/ / | | | | | | See `:h diagnostic-structure`, the property name is `bufnr`, not `buffer`.
* | fix(runtime): add commentstring for C# ftplugin (#23039)Christian Clason2023-04-12
| | | | | | | | | | | | Problem: No commentstring is set for C# buffers after removing the default C-style commentstring Solution: Add `ftplugin/cs.lua` with C-style commentstring
* | ci(lintcommit): allow colon not followed by space in description (#23035)zeertzjq2023-04-12
| |
* | test(startup_spec): use getscriptinfo() instead of :scriptnames (#23034)zeertzjq2023-04-12
| |
* | refactor: remove :CheckHealthdundargoc2023-04-12
| | | | | | | | | | Using :CheckHealth invokes an error, and many of the features from :checkhealth doesn't even work such as calling only a specific check. Users should use :checkhealth instead.
* | build: use -O3 optimization for release buildsdundargoc2023-04-11
| | | | | | | | | | | | Compilers have much more reliable -O3 output these days, so this workaround is likely not needed. Closes https://github.com/neovim/neovim/issues/23008.
* | feat!: remove vimballs (#22402)dundargoc2023-04-11
| | | | | | | | | | | | | | | | Vimball is an outdated feature that is rarely used these days. It is not a maintenance burden on its own, but it is nonetheless dead weight and something we'd need to tell users to ignore when they inevitably ask what it is. See: https://github.com/neovim/neovim/pull/21369#issuecomment-1347615173
* | test(lsp): fix unstable tests for set_defaults (#23002)Michal Liszcz2023-04-11
| | | | | | | | | | | | | | | | | | | | In the `test_rpc_server` procedure, both `on_setup` and `on_init` callbacks can run concurrently in some scenarios. This caused some CI failures in tests for the LSP set_defaults feature. This commit attempts to fix this by merging those two callbacks in the impacted tests. See: https://github.com/neovim/neovim/actions/runs/4553550710/attempts/1
* | feat(lua): vim.region accepts getpos() arg (#22635)NAKAI Tsuyoshi2023-04-11
| |
* | test: avoid name collisions with Xtest directory (#23019)kylo2522023-04-11
| |
* | fix(highlight): combine ColorColumn with low-priority CursorLine (#23017)zeertzjq2023-04-11
| |
* | fix(treesitter): Use the correct replacement args for #gsub! directive (#23015)Scott Ming2023-04-11
| | | | | | fix(treesitter): use the correct replacement args for #gsub! directive
* | fix(health): check for _host_prog variables properly (#23014)zeertzjq2023-04-11
| |
* | fix(man.lua): don't continue on command error (#23009)zeertzjq2023-04-11
| | | | | | Fix #21169
* | fix(health): combine python and virtualenv healthchecks (#23004)Gregory Anders2023-04-10
| | | | | | fix(health): combine python and virtualenv health checks
* | fix(health): fix typo in function nameGregory Anders2023-04-10
| |
* | fix(mark): properly init mark views (#22996)zeertzjq2023-04-10
| |
* | refactor: rewrite perl healthcheck in luadundargoc2023-04-10
| | | | | | This is required to remove the vimscript checkhealth functions.
* | refactor: rewrite node healthcheck in luadundargoc2023-04-10
| | | | | | This is required to remove the vimscript checkhealth functions.
* | Merge pull request #22865 from MunifTanjim/issue-20370bfredl2023-04-10
|\ \ | | | | | | fix(api): do not re-apply win_config.style when missing
| * | fix(api): do not re-apply win_config.style when missingMunif Tanjim2023-04-10
| | |
* | | refactor: rewrite ruby healthcheck in luadundargoc2023-04-10
| | | | | | | | | This is required to remove the vimscript checkhealth functions.
* | | ci(release/winget): get msi from previous job instead of downloading Vedant2023-04-10
| | |
* | | fix(eval): prevent double-free in garbage collection (#22990)zeertzjq2023-04-10
| | |
* | | refactor: rewrite virtualenv healthcheck in luadundargoc2023-04-10
| | | | | | | | | This is required to remove the vimscript checkhealth functions.
* | | fix(column): 'statuscolumn' not drawn after virt_lines with "n" in 'cpo' ↵luukvbaal2023-04-10
| | | | | | | | | | | | | | | | | | | | | | | | (#22967) Problem: The 'statuscolumn' is not drawn and the line itself is drawn at an offset to the rest of the buffer after virt_lines if 'cpoptions' includes "n". Solution: Make sure 'statuscolumn' is drawn.
* | | vim-patch:9.0.1443: ending Insert mode when accessing a hidden prompt buffer ↵zeertzjq2023-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#22984) Problem: Ending Insert mode when accessing a hidden prompt buffer. Solution: Don't stop Insert mode when it was active before. (closes vim/vim#12237) https://github.com/vim/vim/commit/05a627c3d4e42a18f76c14828d68ee4747118211 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | | refactor: rewrite python provider healthcheck in Luadundargoc2023-04-09
| | | | | | | | | This is required to remove the vimscript checkhealth functions.
* | | refactor: rewrite clipboard provider healthchecks in Luadundargoc2023-04-09
| | | | | | | | | This is required to remove the vimscript checkhealth functions.
* | | build(ci): ensure correct headers are used on macOSCarlo Cabrera2023-04-09
| |/ |/| | | | | | | | | | | | | | | | | Currently, the release build picks up headers in `/Library/Frameworks/Mono.framework/Headers`. You can verify this by downloading the latest nightly build and checking the output of `nvim --version`. These headers are likely to be from a different version of `libintl` than the one we link to. Let's avoid usage of them by setting `CMAKE_FIND_FRAMEWORK` to `NEVER`.
* | build: remove uninstall targetdundargoc2023-04-08
| | | | | | | | | | The `make uninstall` target can't be expected to find all files it installs in many cases. It is therefore better to remove it rather than give the impression to users that it is a robust.
* | Merge pull request #22963 from echasnovski/diagnostic-new-hlChristian Clason2023-04-08
|\ \ | | | | | | docs: add `hl-DiagnosticDeprecated` and `hl-DiagnosticUnnecessary`