aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:9.0.0537: the do_set() function is much too long (#20274)zeertzjq2022-09-22
| | | | | | | Problem: The do_set() function is much too long. Solution: Move setting of a string option to a separate function. https://github.com/vim/vim/commit/4740394f230dda09d6e9337465305741d8ee4fa3 Cherry-pick some tests from Vim patch 8.2.0540.
* feat(filetype): expand environment variables in filetype patterns (#20145)Jonas Strittmatter2022-09-21
|
* vim-patch:9.0.0018: going over the end of the typahead (#20269)zeertzjq2022-09-21
| | | | | | | Problem: Going over the end of the typahead. Solution: Put a NUL after the typeahead. https://github.com/vim/vim/commit/27efc62f5d86afcb2ecb7565587fe8dea4b036fe check_termcode() is N/A.
* vim-patch:9.0.0517: when at the command line :redrawstatus does not work ↵zeertzjq2022-09-21
| | | | | | | well (#20266) Problem: When at the command line :redrawstatus does not work well. Solution: Only update the statuslines instead of the screen. (closes vim/vim#11180) https://github.com/vim/vim/commit/320d910064320f894a09ffdd1cd800ff5371e97f
* refactor: suppress PVS false positives (#20264)zeertzjq2022-09-21
| | | | Some V512 warnings have changed to V1086, and PVS apparently does not know `uv_run()` can change `*timeout_expired`.
* fix(lsp): out of bounds error in lsp.util.apply_text_edits (#20137)ofwinterpassed2022-09-20
| | | Co-authored-by: Jonas Strittmatter <40792180+smjonas@users.noreply.github.com>
* Merge pull request #20263 from notomo/refactor-remove-unusedbfredl2022-09-20
|\ | | | | refactor(message): remove unused function
| * refactor(message): remove unused functionnotomo2022-09-20
| |
* | vim-patch:9.0.0511: unnecessary scrolling for message of only one line (#20261)zeertzjq2022-09-20
| | | | | | | | | | Problem: Unnecessary scrolling for message of only one line. Solution: Only set msg_scroll when needed. (closes vim/vim#11178) https://github.com/vim/vim/commit/bdedd2bcce3a59028c7504a397ff77d901b1b12a
* | Merge pull request #20262 from zeertzjq/vim-9.0.0507zeertzjq2022-09-20
|\ \ | |/ |/| vim-patch:9.0.{0507,0512}: cmdline cleared when using :redrawstatus
| * vim-patch:9.0.0512: cannot redraw the status lines when editing a commandzeertzjq2022-09-20
| | | | | | | | | | | | | | Problem: Cannot redraw the status lines when editing a command. Solution: Only postpone the redraw when messages have scrolled. (closes vim/vim#11170) https://github.com/vim/vim/commit/c14bfc31d907cbee6a3636f780561ad1787cdb9b
| * vim-patch:9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChangedzeertzjq2022-09-20
|/ | | | | | | | | Problem: Command line cleared when using :redrawstatus in CmdlineChanged autocommand event. Solution: Postpone the redraw. (closes vim/vim#11162) https://github.com/vim/vim/commit/bcd6924245c0e73d8be256282656c06aaf91f17c Cherry-pick Test_redraw_in_autocmd() from Vim patch 8.2.4789.
* vim-patch:9.0.0510: Chatito files are not recognized (#20260)Christian Clason2022-09-20
| | | | | Problem: Chatito files are not recognized. Solution: Add a pattern for Chatito files. (closes vim/vim#11174) https://github.com/vim/vim/commit/7c046ae99ba85a4fdf1a546157e2ed6f12b79ea6
* vim-patch:9.0.0509: confusing error for "saveas" command with "nofile" ↵zeertzjq2022-09-20
| | | | | | | buffer (#20258) Problem: Confusing error for "saveas" command with "nofile" buffer. Solution: Give a clearer error message. (closes vim/vim#11171) https://github.com/vim/vim/commit/500a1f9972afa354f0bc77bc535aabf9f5f0116d
* feat(lua): move compat module from runtime to test (#20257)Lewis Russell2022-09-20
|
* docs(lua): opts in `vim.keymap.{set,del}` can be optional (#20255)Lewis Russell2022-09-20
|
* fix(lsp): support `false` result in handlers (#20252)Mathias Fußenegger2022-09-20
| | | Closes https://github.com/neovim/neovim/issues/20111
* fix(tui): handle padding requirements for visual bell (#20238)zeertzjq2022-09-20
|
* build: add basic cmake-presets integration (#19128)kylo2522022-09-19
| | | | | | | | | | | | | | This allows a more declarative way of defining targets which may be easier to those not familiar with cmake quirks. Example usage: # get a list of pre-configured presets cmake --list-presets # configure a preset cmake . --preset=default # build it cmake --build --preset=default
* ci(publish-winget): fix errors that prevents release (#20232)Vedant2022-09-19
|
* fix(inccommand): avoid unnecessary redraw when not showing (#20244)zeertzjq2022-09-19
|
* fix: assert failure when changing 'ut' while waiting for CursorHold (#20241)zeertzjq2022-09-18
|
* vim-patch:9712ff1288f9 (#20240)Christian Clason2022-09-18
| | | | Update runtime files https://github.com/vim/vim/commit/9712ff1288f942736ed76c0dec014909f067eec9
* vim-patch:9.0.0497: LyRiCs files are not recognized (#20239)Christian Clason2022-09-18
| | | | | Problem: LyRiCs files are not recognized. Solution: Add a pattern to detect LyRiCs files. (closes vim/vim#11155) https://github.com/vim/vim/commit/65ee49decf5677690cd695d5d288e39344965fff
* Merge pull request #20198 from zeertzjq/cursorholdbfredl2022-09-18
|\ | | | | fix(events): make CursorHold behave as documented
| * fix(events): make CursorHold behave as documentedzeertzjq2022-09-17
| |
* | vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215)dundargoc2022-09-18
|/ | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes vim/vim#3932) https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
* test(remote_spec): reduce flakiness in waiting for client exit (#20230)zeertzjq2022-09-17
| | | | It is less likely for client to exit between jobstart() and jobwait() if they are invoked in the same RPC request instead of two separate ones.
* vim-patch:8.2.0690: line number of option set by modeline is wrong (#20228)zeertzjq2022-09-17
| | | | | Problem: Line number of option set by modeline is wrong. Solution: Do not double the line number. (Ozaki Kiichi, closes vim/vim#6035) https://github.com/vim/vim/commit/5125874951669944a5f6a4163d6e5d437ae6321e
* vim-patch:9.0.0483: illegal memory access when replacing in virtualedit mode ↵zeertzjq2022-09-17
| | | | | | | | | (#20225) Problem: Illegal memory access when replacing in virtualedit mode. Solution: Check for replacing NUL after Tab. https://github.com/vim/vim/commit/c249913edc35c0e666d783bfc21595cf9f7d9e0d Cherry-pick Test_virtualedit_mouse() from patch 9.0.0177.
* test(old): add a function roughly equivalent to test_setmouse() (#20224)zeertzjq2022-09-17
| | | | Mouse movement events usually have no effect, so passing "move" to nvim_input_mouse() works in most cases.
* 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