aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ci(release-winget): publish nightly winget prerelease #20209Vedant2022-09-16
|
* build(deps): bump libvterm to v0.3 (#20222)Christian Clason2022-09-16
|
* vim-patch:9.0.0479: in :def function all closures in loop get the sam… ↵Christian Clason2022-09-16
| | | | | | | | | | | (#20220) vim-patch:9.0.0479: in :def function all closures in loop get the same variables Problem: In a :def function all closures in a loop get the same variables. Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER. https://github.com/vim/vim/commit/1aea184a0dc558a222cc5bcbaad9ab0fd700c7b9 (note: patch description is wrong)
* fix(eval)!: make Lua Funcref work as method and in substitute() (#20217)zeertzjq2022-09-16
| | | | | | | | | | | | BREAKING CHANGE: When using a Funcref converted from a Lua function as a method in Vim script, the result of the base expression is now passed as the first argument instead of being ignored. vim-patch:8.2.5117: crash when calling a Lua callback from a :def function Problem: Crash when calling a Lua callback from a :def function. (Bohdan Makohin) Solution: Handle FC_CFUNC in call_user_func_check(). (closes vim/vim#10587) https://github.com/vim/vim/commit/7d149f899d423b7bf2b90d7b11ebe3e560c462b9
* feat(tui): support undercurl when Konsole version >= 221170 (#20219)zeertzjq2022-09-16
| | | Support was added in https://invent.kde.org/utilities/konsole/-/commit/76f879cd70fb494ab2334d2660b34679546f3d9d
* vim-patch:9.0.0476: varargs does not work for replacement function of ↵zeertzjq2022-09-16
| | | | | | | substitute() (#20216) Problem: Varargs does not work for replacement function of substitute(). Solution: Check the varargs flag of the function. (closes vim/vim#11142) https://github.com/vim/vim/commit/48db5dafecacced4a9e42de3f92838b2d59beb4c
* vim-patch:8.2.3796: the funcexe_T struct members are not named consistently ↵zeertzjq2022-09-16
| | | | | | | | | (#20214) Problem: The funcexe_T struct members are not named consistently. Solution: Prefix "fe_" to all the members. https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82 Omit fe_check_type: always NULL in legacy Vim script.
* fix(lua): free vim.ui_attach callback before lua close (#20205)notomo2022-09-16
|
* Merge pull request #20213 from bfredl/redisplaybfredl2022-09-16
|\ | | | | fix(messages): do not crash on cmdheight=0 and g< redisplay
| * fix(messages): do not crash on cmdheight=0 and g< redisplaybfredl2022-09-16
| | | | | | | | fixes #20153
* | vim-patch:8.2.0067: ERROR_UNKNOWN clashes on some systems (#20212)zeertzjq2022-09-16
|/ | | | | | | Problem: ERROR_UNKNOWN clashes on some systems. Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes vim/vim#5415) https://github.com/vim/vim/commit/ef140544f6703a7a4c0f6a15f610508ed6b09e89 Remove ERROR_BOTH which was removed from Vim in patch 7.4.1582.
* Merge pull request #20188 from bfredl/zerocmdlinebfredl2022-09-16
|\ | | | | feat(ui): use msg_grid based implementation for cmdheight=0
| * feat(ui): use msg_grid based implementation for cmdheight=0bfredl2022-09-15
| |
* | build(deps): bump tree-sitter-lua to v0.0.13 (#20210)Christian Clason2022-09-16
| |
* | docs(autocmds): re-add buffer param to docstring (#20204)kylo2522022-09-16
| |
* | fix(treesitter): return full metadata for get_captures_at_position (#20203)Christian Clason2022-09-16
| | | | | | | | | | | | | | | | fix(treesitter): get_captures_at_position returns metadata Return the full `metadata` table for the capture instead of just the priority. Further cleanup of related docs.
* | fix(diagnostic): populate data key in DiagnosticChanged autocmd in reset ↵Gregory Anders2022-09-15
| | | | | | | | | | (#20207) Follow up to #20173.
* | test(old): remove OpenBSD skip (#20201)zeertzjq2022-09-15
|/
* fix(help): add `--clean` to `-h` (#20171)Christian Clason2022-09-14
| | | update man file to match
* docs(treesitter): clean up and update treesitter.txt (#20142)Christian Clason2022-09-14
| | | | | * add type annotations to code * clean up and expand static documentation * consistent use of tags for static and generated docs
* Merge pull request #18705 from dundargoc/fix/require-missing-module-in-autocmdbfredl2022-09-14
|\ | | | | fix: assertion failure when requiring missing module in autocmd
| * fix: assertion failure when requiring missing module in autocmdDundar Goc2022-09-05
| | | | | | | | Closes https://github.com/neovim/neovim/issues/15348
* | refactor: move definitions from `typval.h` to `typval_defs.h` (#20194)Famiu Haque2022-09-14
| | | | | | Taken from #20187.
* | Merge pull request #20164 from bfredl/luanullbfredl2022-09-13
|\ \ | | | | | | fix(lua): make vim.str_utfindex and vim.str_byteindex handle NUL bytes
| * | fix(lua): make vim.str_utfindex and vim.str_byteindex handle NUL bytesbfredl2022-09-13
| | | | | | | | | | | | fixes #16290
* | | feat(fs): extend fs.find to accept predicate (#20193)Mathias Fußenegger2022-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to use `vim.fs.find` to find files where only a substring is known. This is useful for `vim.lsp.start` to get the `root_dir` for languages where the project-file is only known by its extension, not by the full name. For example in .NET projects there is usually a `<projectname>.csproj` file in the project root. Example: vim.fs.find(function(x) return vim.endswith(x, '.csproj') end, { upward = true })
* | | feat(diagnostic): pass diagnostics as data to DiagnosticChanged autocmd (#20173)Gregory Anders2022-09-13
| | |
* | | vim-patch:9.0.0457: substitute prompt does not highlight an empty match (#20186)zeertzjq2022-09-13
| | | | | | | | | | | | | | | Problem: Substitute prompt does not highlight an empty match. Solution: Highlight at least one character. https://github.com/vim/vim/commit/a04f457a6c071179bac4088c9314007d39d5c5e0
* | | vim-patch:9.0.0456: function called at debug prompt is also debugged (#20185)zeertzjq2022-09-13
| | | | | | | | | | | | | | | | | | Problem: Function called at debug prompt is also debugged. Solution: Reset the debug level while entering the debug command. (closes vim/vim#11118) https://github.com/vim/vim/commit/b1842de5ca77205993e8ef76cf29803822e0e3ab
* | | Merge pull request #20011 from lewis6991/refactor/memlineLewis Russell2022-09-13
|\ \ \ | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | | refactor(memline): resolve clint errorsLewis Russell2022-09-13
|/ / / | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | vim-patch:9.0.0449: there is no easy way to translate a key code into a ↵zeertzjq2022-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string (#20168) Problem: There is no easy way to translate a string with a key code into a readable string. Solution: Add the keytrans() function. (closes vim/vim#11114) https://github.com/vim/vim/commit/cdc839353f68ca43db6446e1b727fc7ba657b738 vim-patch:7b2d87220c6c Add missing part of patch https://github.com/vim/vim/commit/7b2d87220c6c974d5cdae672b6f9620a6bcbd1dc
* | | test(lsp): call clear() before bufwipe test (#20170)zeertzjq2022-09-13
| | | | | | | | | Otherwise this test cannot be run alone, and fails frequently on CI.
* | | Merge pull request #20077 from dundargoc/refactor/char_u/11bfredl2022-09-12
|\ \ \ | | | | | | | | refactor: replace char_u with char 11: remove `STRLEN` part 1
| * | | refactor: replace char_u with charDundar Göc2022-09-11
| | | | | | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | | | Merge pull request #20141 from vigoux/ts-self-inheritsChristian Clason2022-09-12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fix(treesitter): prevent endless loop on self-inheritence docs(treesitter): suggest using extends to extend queries
| * | | | docs(treesitter): suggest using `extends` to extend queriesThomas Vigouroux2022-09-12
| | | | |
| * | | | fix(treesitter): prevent endless loop on self-inheritenceThomas Vigouroux2022-09-11
| | | | | | | | | | | | | | | | | | | | Fixes #20139
* | | | | vim-patch:9.0.0299: error messages for setcmdline() could be better (#20169)zeertzjq2022-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error messages for setcmdline() could be better. Solution: Use more specific error messages. (Yegappan Lakshmanan, closes vim/vim#10995) https://github.com/vim/vim/commit/25f1e5556259d536c8608185145b0769262873ff Cherry-pick tv_check_for_opt_number_arg() from Vim.
* | | | | vim-patch:9.0.0448: SubRip files are not recognized (#20167)Christian Clason2022-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: SubRip files are not recognized. Solution: Add a pattern for SubRip. (closes vim/vim#11113) https://github.com/vim/vim/commit/5a4eb55122e45444d3a6c56ce108ce29bc8e52ab
* | | | | Merge pull request #20091 from teto/fix-flakeMatthieu Coudron2022-09-12
|\ \ \ \ \
| * | | | | build(nix): removed the useless 'app'Matthieu Coudron2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the format changed depending on the nix version and it is useless anyway.
| * | | | | build(nix): bumped flakeMatthieu Coudron2022-09-05
| | | | | |
| * | | | | build(flake): add sumneko lsp in PATHMatthieu Coudron2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | and reformatted the file
* | | | | | vim-patch:8.2.4671: 'wildignorecase' is sometimes not used for glob() (#20165)zeertzjq2022-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'wildignorecase' is sometimes not used for glob(). Solution: Also use 'wildignorecase' when there are no wildcards. (closes vim/vim#10066, closes vim/vim#8350) https://github.com/vim/vim/commit/a3157a476bfa8c3077d510cc8400093c0d115df5
* | | | | | Merge pull request #20163 from zeertzjq/vim-8.2.5034zeertzjq2022-09-12
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | vim-patch:8.2.5034: there is no way to get the byte index from a virtual column
| * | | | | vim-patch:8.2.5034: there is no way to get the byte index from a virtual columnzeertzjq2022-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no way to get the byte index from a virtual column. Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes vim/vim#10477, closes vim/vim#10098) https://github.com/vim/vim/commit/5a6ec10cc80ab02eeff644ab19b82312630ea855 Cherry-pick tv_check_for_number_arg() from Vim. Cherry-pick pathshorten() doc change.
| * | | | | refactor: move f_screenpos() to move.czeertzjq2022-09-12
|/ / / / /
* | | | | Merge pull request #20160 from zeertzjq/vim-8.2.2646zeertzjq2022-09-12
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{2646,2664}: string argument type check
| * | | | | vim-patch:8.2.2664: Vim9: not enough function arguments checked for stringzeertzjq2022-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: not enough function arguments checked for string. Solution: Check in balloon functions. Refactor function arguments. https://github.com/vim/vim/commit/32105ae88f3aa6a6af30336f0bc9f8eb81292cd7 Cherry-pick removal of useless check from patch 8.2.3840. vim-patch:8.2.3083: crash when passing null string to charclass() Problem: Crash when passing null string to charclass(). Solution: Bail out when string pointer is NULL. (Christian Brabandt, closes vim/vim#8498, closes vim/vim#8260) https://github.com/vim/vim/commit/72463f883cdfd08e29ab0018ef3889284848d5f1