aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | Merge pull request #16546 from zeertzjq/vim-8.1.1797Jan Edmund Lazo2021-12-07
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.1.{1797,1798}: the vgetorpeek() function is too long
| * | | | | vim-patch:8.1.1798: warning for unused variable in tiny versionzeertzjq2021-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Warning for unused variable in tiny version. (Tony Mechelynck) Solution: Move inside #ifdef. Reformat code. https://github.com/vim/vim/commit/eda35f7127c6ac51573eda808687f6369c31ee2d
| * | | | | vim-patch:8.1.1797: the vgetorpeek() function is too longzeertzjq2021-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings, with fix. https://github.com/vim/vim/commit/edd680f3649c47d7ed5818e356e7c47f874f5cf8
* | | | | | Merge pull request #16107 from zeertzjq/vim-8.1.1542Jan Edmund Lazo2021-12-06
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.1.1542,8.2.3549: an OptionSet autocommand does not get enough info
| * | | | | | vim-patch:8.2.3549: mistakes in test commentszeertzjq2021-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Mistakes in test comments. Solution: Fix the comments. (closes vim/vim#9029) https://github.com/vim/vim/commit/b811de5d49a23b20df82a80533d0602cda49029e
| * | | | | | vim-patch:8.1.1542: an OptionSet autocommand does not get enough infozeertzjq2021-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: An OptionSet autocommand does not get enough info. Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal. (Latrice Wilgus, closes vim/vim#4118) https://github.com/vim/vim/commit/d7c968794710f338d491072171df48f96612cf72
* | | | | | | vim-patch:8.1.2104: the normal.c file is too big (#16389)Volodymyr Kot2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The normal.c file is too big. Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan, closes vim/vim#4999). https://github.com/vim/vim/commit/792cf5e1bec04c6d6d70cfbb9ef24c798b469731
* | | | | | | refactor: fix indent in decode.c (#16543)zeertzjq2021-12-06
| |/ / / / / |/| | | | |
* | | | | | vim-patch:4700398e384f (#16538)Christian Clason2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/4700398e384f38f752b432e187462f404b96847d partial skip: doc/sign.txt doc/various.txt doc/motion.txt
* | | | | | lint (#16526)Jan Edmund Lazo2021-12-05
| | | | | |
* | | | | | refactor: format diagnostic.lua (#16540)Gregory Anders2021-12-05
| | | | | |
* | | | | | fix(diagnostic): escape special chars in file names (#16527)Matthew Toohey2021-12-05
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
* | | | | | refactor: remove unused runtime lua functions (#16535)dundargoc2021-12-05
| |_|/ / / |/| | | |
* | | | | docs(lsp): re-add client.requests documentation (#16530)Anshuman Medhi2021-12-05
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Closes #16528 Added in this PR: https://github.com/neovim/neovim/commit/d1c470957b49380ec5ceba603dbd85a14f60f09b#diff-6b5f3071d65558aab177912061ac6a2f5312660655a449276c83697686f28e72R627 Removed by regeneration in this PR: https://github.com/neovim/neovim/commit/2d340a3746dd5d6caf17b2c2e78380fa423409e8#diff-6b5f3071d65558aab177912061ac6a2f5312660655a449276c83697686f28e72L631
* | | | Merge pull request #15996 from gpanders/nvim_get_option_valueGregory Anders2021-12-04
|\ \ \ \ | | | | | | | | | | feat(api): add nvim_{get,set}_option_value
| * | | | feat(api): add nvim_get_option_valueGregory Anders2021-12-04
| | | | |
| * | | | chore: bump API versionGregory Anders2021-12-04
| | | | |
* | | | | feat(lsp,diagnostic): open folds in jump-related functions (#16520)Dmytro Meleshko2021-12-04
|/ / / /
* | | | Merge pull request #16518 from dundargoc/ci/use-latest-versionsJames McCoy2021-12-04
|\ \ \ \ | | | | | | | | | | ci: use tag v2 when using checkout action
| * | | | ci: use tag v2 when using checkout actionDundar Göc2021-12-04
|/ / / / | | | | | | | | | | | | | | | | Using v2 automatically fetches the latest minor patch for v2, meaning free bug fixes without needing to manually update the tag version.
* | | | Merge pull request #16411 from dundargoc/refactor/upgrade-uncrustifyBjörn Linse2021-12-04
|\ \ \ \ | | | | | | | | | | refactor: upgrade uncrustify config version to 0.74.0
| * | | | refactor: upgrade uncrustify config version to 0.74.0Dundar Göc2021-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | Disable formatting for assert.h since there's a bug that results in a segmentation fault in uncrustify.
* | | | | vim-patch:8.2.3730: "/etc/Muttrc.d/README" gets filetype muttrc (#16515)Christian Clason2021-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: "/etc/Muttrc.d/README" gets filetype muttrc. Solution: Move the Muttrc.d pattern down, add exception for *.rc files. https://github.com/vim/vim/commit/800b01b0c8a5983e23d8caa2be6c73d195448193
* | | | | vim-patch:8.2.3729: no support for squirrels (#16513)Christian Clason2021-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: No support for squirrels. (closes vim/vim#9259) Solution: Recognize nuts. https://github.com/vim/vim/commit/6f42cb6e5159b323814a53bbc82def4f2cfb17ad
* | | | | vim-patch:8.2.3726: README file in a config directory gets wrong filetype ↵Christian Clason2021-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16507) Problem: README file in a config directory gets wrong filetype. Solution: Match README before patterns that match everything in a directory. https://github.com/vim/vim/commit/c903695be54189fd7199121e9cd669e722fbc9c2
* | | | | Merge pull request #16489 from zeertzjq/patch-1James McCoy2021-12-02
|\ \ \ \ \ | | | | | | | | | | | | [skip ci]
| * | | | | docs(CONTRIBUTING.md): use gh instead of hub; correct uncrustify linkzeertzjq2021-12-02
| | | | | |
* | | | | | Merge pull request #16408 from jamessan/rm-legacy-testJames McCoy2021-12-02
|\ \ \ \ \ \
| * | | | | | chore: remove legacy/059_utf8_spell_checking.vimJames McCoy2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The legacy test was converted to a new style Vim test in 8b812183002ec869b20ae33ee7ec52452470fc52.
* | | | | | | fix(diagnostic): clamp diagnostics on negative line numbers (#16496)Michael Lingelbach2021-12-02
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/16492 Despite having logic for setting the maximum diagnostic line number to at minimum 0, previously the conditional statement only checked if lnum and end_lnum were greater than the line count. Fix: also check if lnum and end_lnum are less than 0.
* | | | | | chore: add default luarc.json for Lua development (#16487)Gregory Anders2021-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Sumneko Lua language server has matured quite a bit and many Neovim developers use it while working on Neovim. Having a default configuration for Neovim development is a nice convenience (and dovetails well with the auto-generated compile_command.json for C development). The file is shipped under `contrib` and users can make use of it by symlinking to `.luarc.json` in the project root.
* | | | | | fix(diagnostic): set effective buffer number for DiagnosticChanged autocmd ↵Gregory Anders2021-12-01
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | (#16474) This enables use of <abuf> in autocommand handlers for DiagnosticChanged.
* | | | | Merge pull request #16478 from jamessan/fragile-server-notifications-testJames McCoy2021-11-30
|\ \ \ \ \ | | | | | | | | | | | | test(api): mark "notify cancels stale events on channel close" fragile
| * | | | | test(api): mark "notify cancels stale events on channel close" fragileJames McCoy2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is already skipped in all CI environments, so it should also be skipped in environments that don't like fragile tests. Since there's no convenient way to express these concisely, add the explicit fragile skip.
* | | | | | Merge pull request #16477 from jamessan/backport-actionJames McCoy2021-11-30
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix(ci/backport): check for event_name == "pull_request_target"
| * | | | | | fix(ci/backport): check for event_name == "pull_request_target"James McCoy2021-11-30
|/ / / / / / | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | Merge pull request #15840 from vimpostor/vim-8.2.3430Jan Edmund Lazo2021-11-30
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.{3430,3434,3462,3463,3555,3609,3610}: ModeChanged autocmd
| * | | | | | vim-patch:8.2.3610: crash when ModeChanged triggered too earlyMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when ModeChanged triggered too early. Solution: Trigger ModeChanged after setting VIsual. https://github.com/vim/vim/commit/a062006b9de0b2947ab5fb376c6e67ef92a8cd69
| * | | | | | vim-patch:8.2.3609: internal error when ModeChanged is triggered recursivelyMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Internal error when ModeChanged is triggered when v:event is already in use. Solution: Save and restore v:event if needed. https://github.com/vim/vim/commit/3075a45592fe76f2febb6321632a23e352efe949 In the vim codebase there is no occurrence of get_vim_var_dict(VV_EVENT) after the above patch, so in order to hold the same invariant in the neovim codebase we needed to replace more occurrences than the related vim patch.
| * | | | | | feat: trigger ModeChanged for terminal modesMagnus Groß2021-11-18
| | | | | | |
| * | | | | | vim-patch:8.2.3555: ModeChanged is not triggered on every mode changeMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ModeChanged is not triggered on every mode change. Solution: Also trigger on minor mode changes. (Maguns Gross, closes vim/vim#8999) https://github.com/vim/vim/commit/25def2c8b8bd7b0c3d5f020207c717a880b05d50
| * | | | | | vim-patch:8.2.3463: pattern matching with ModeChanged not testedMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Pattern matching with ModeChanged not tested. Solution: Add a few more test lines. (issue vim/vim#8856) https://github.com/vim/vim/commit/72d2fa69e56dd0e61eac87a9c3b79cd89d47cdd9
| * | | | | | vim-patch:8.2.3462: ModeChanged only uses one character for new_mode and ↵Magnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | old_mode Problem: The ModeChanged event only uses one character for the new_mode and old_mode values. Solution: Pass one as first argument to mode(). (issue vim/vim#8856) https://github.com/vim/vim/commit/d85931e67316e824878000d0ead122553ccef3a4
| * | | | | | vim-patch:8.2.3430: no generic way to trigger an autocommand on mode changeMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No generic way to trigger an autocommand on mode change. Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes vim/vim#8856) https://github.com/vim/vim/commit/f1e8876fa2359b572d262772747405d3616db670 N/A patches for version.c: vim-patch:8.2.3434: function prototype for trigger_modechanged() is incomplete Problem: Function prototype for trigger_modechanged() is incomplete. Solution: Add "void". https://github.com/vim/vim/commit/28e591dd5080bbcd0f468f9d9597cedb716e28c9 Fixes #4399. Fixes #7416.
* | | | | | | Merge pull request #16420 from seandewar/vim-8.1.2136Jan Edmund Lazo2021-11-30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:8.1.2136,8.2.2465
| * | | | | | | vim-patch:8.2.2465: using freed memory in :psearchSean Dewar2021-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory in :psearch. (houyunsong) Solution: Check the current window is still valid. Fix flaky test. https://github.com/vim/vim/commit/92bb83e41ca42d0d00d21753810d92485c808a50 Test_cursorhold_insert timer's 100ms delay was already LoadAdjusted, but change to 200ms (still LoadAdjust) to match Vim anyway.
| * | | | | | | vim-patch:8.1.2136: using freed memory with autocmd from fuzzerSean Dewar2021-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra, Dominique Pelle) Solution: Avoid using "wp" after autocommands. (closes vim/vim#5041) https://github.com/vim/vim/commit/ec66c41d84e574baf8009dbc0bd088d2bc5b2421 Nvim doesn't use Vim's terminal implementation. Despite this, Nvim has its own *exclusive* way of crashing here. Requires 'winwidth' > winwidth() and 'nowinfixwidth' to crash; adjust the test ('nowfw' is the default, but ensure its disabled anyway).
* | | | | | | | vim-patch:8.2.2350: using "void" for no reason (#16410)zeertzjq2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "void" for no reason. Solution: Use "char *". https://github.com/vim/vim/commit/033135eb8eccd00c9ee72c6c0cf4b8b9f81bd269
* | | | | | | | fix(lsp): progress handlers should return vim.NIL on error (#16472)Michael Lingelbach2021-11-30
| | | | | | | |
* | | | | | | | Merge pull request #16381 from VVKot/vim-8.1.0228Jan Edmund Lazo2021-11-30
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:8.1.0228, 8.1.1384, 8.1.1386, 8.1.1393, 8.2.3040