aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | refactor: move non-symbols in ex_eval.h to ex_eval_defs.h (#19739)zeertzjq2022-08-12
|/ | | | This avoids including ex_eval.h in any other header, thus preventing future circular includes.
* docs: clarify that cursorline will be disabled before command preview (#19710)Jonas Strittmatter2022-08-12
|
* fix(lsp): fix nil value error in get_group (#19735)Mathias Fußenegger2022-08-12
| | | | | | | | `server_capabilities` can be nil until the server is initialized. Reproduced with: vim.lsp.stop_client(vim.lsp.start_client { cmd = { vim.v.progpath, '-es', '-u', 'NONE', '--headless' }; })
* refactor: move code dealing with script files to runtime.c (#19734)zeertzjq2022-08-12
| | | | | | | vim-patch:8.1.1927: code for dealing with script files is spread out Problem: Code for dealing with script files is spread out. Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes vim/vim#4861) https://github.com/vim/vim/commit/307c5a5bb77c3728dfab06c30e9f786309c63f74
* Merge pull request #19733 from zeertzjq/vim-8.1.1684zeertzjq2022-08-12
|\ | | | | vim-patch:8.1.{1684,1689}: profiling code is spread out
| * vim-patch:8.1.1689: profiling code is spread outzeertzjq2022-08-12
| | | | | | | | | | | | | | Problem: Profiling code is spread out. Solution: Move more profiling code to profiler.c. (Yegappan Lakshmanan, closes vim/vim#4668) https://github.com/vim/vim/commit/660a10ad41c14363326f83451c3c425201923119
| * vim-patch:8.1.1684: profiling functionality is spread outzeertzjq2022-08-12
|/ | | | | | | | | Problem: Profiling functionality is spread out. Solution: Put profiling functionality in profiling.c. (Yegappan Lakshmanan, closes vim/vim#4666) https://github.com/vim/vim/commit/fa55cfc69d2b14761e2a8bd85bc1e0d82df770aa Move proftime_T to types.h for now to avoid recursive #include.
* test: make Ex mode exit test test what it wants to test (#19728)zeertzjq2022-08-12
|
* fix(lsp): handle nil client in onexit callback (#19722)Mathias Fußenegger2022-08-11
| | | Follow up to https://github.com/neovim/neovim/pull/19658
* fix(signs): priority of extmark signs (#19718)Lewis Russell2022-08-11
|
* fix(lsp): avoid pipe leaks if lsp cmd isn't executable (#19717)Mathias Fußenegger2022-08-11
| | | The `onexit` handler isn't called if `uv.spawn` doesn't return a handle.
* fix(lsp): fix some type annotations in lsp.rpc (#19714)Mathias Fußenegger2022-08-11
|
* docs: add reformat commit to .git-blame-ignore-revs (#19715)Christian Clason2022-08-11
| | | followup to #19685
* Merge pull request #19685 from ii14/gen_vimdoc_indentationChristian Clason2022-08-11
|\ | | | | docs: change gen_vimdoc indentation level
| * docs: regenerateii142022-08-11
| |
| * docs: change gen_vimdoc indentation to 4 spacesii142022-08-11
| |
* | refactor: use CLEAR_FIELD and CLEAR_POINTER macros (#19709)zeertzjq2022-08-11
| | | | | | | | | | | | | | vim-patch:8.2.0559: clearing a struct is verbose Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER(). https://github.com/vim/vim/commit/a80faa8930ed5a554beeb2727762538873135e83
* | build(deps): bump LuaJIT to HEAD - 633f265f6 (#19703)Christian Clason2022-08-11
| |
* | Merge pull request #19704 from bfredl/ceci-nest-pas-un-boolbfredl2022-08-10
|\ \ | | | | | | fix(mpack): make sure a `bool` always is a `bool`
| * | fix(mpack): make sure a `bool` always is a `bool`bfredl2022-08-10
|/ / | | | | | | | | | | | | | | | | | | | | before, RelWithDebInfo linking gave this warning: src/mpack/conv.h:36:16: warning: type of ‘mpack_unpack_boolean’ does not match original declaration [-Wlto-type-mismatch] 36 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t) FUNUSED FPURE; | ^ src/mpack/conv.c:196:16: note: return value type mismatch 196 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t) | ^
* | vim-patch:9.0.0182: quarto files are not recognized (#19702)Jonas Strittmatter2022-08-10
| | | | | | | | | | | | Problem: Quarto files are not recognized. Solution: Recognize quarto files by the extension. (Jonas Strittmatter, closes vim/vim#10880) https://github.com/vim/vim/commit/3a9687fb2749cb3da6e3bbf60cb9eaa81f7889ae
* | fix(api): `vim.cmd.make` crashes when argument count isn't 1 (#19701)Famiu Haque2022-08-10
| | | | | | Closes #19696
* | Merge pull request #19693 from clason/bump-gha-ubuntudundargoc2022-08-10
|\ \
| * | ci(release): build with standard gcc on UbuntuChristian Clason2022-08-09
| | | | | | | | | | | | Ubuntu-20.04 ships with GCC 10.3.0, which is enough to avoid #14150
| * | ci(release): bump deprecated ubuntu image to 20.04Christian Clason2022-08-09
| | | | | | | | | | | | | | | `ubuntu-18.04` is now deprecated and subject to outages, see https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
* | | docs: fix some mistakes and missing docs (#19699)zeertzjq2022-08-10
| |/ |/|
* | fix(lsp): handle multiple clients with incremental sync (#19658)Mathias Fußenegger2022-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change tracking used a single lines/lines_tmp table to track changes to a buffer. If multiple clients using incremental sync are connected to a buffer, they both made changes to the same lines table. That resulted in an inconsistent state. This commit changes the didChange handling to group clients by synchronization scheme and offset encoding. This avoids computing the diff multiple times for clients using the same scheme and resolves the lines/lines_tmp conflicts. Fixes https://github.com/neovim/neovim/issues/19325
* | feat(tui): allow grid and host to disagree on ambiguous-width chars (#19686)zeertzjq2022-08-09
|/ | | Note: This only applies to ambiguous-width characters.
* vim-patch:9.0.0176: checking character options is duplicated and incomplete ↵zeertzjq2022-08-09
| | | | | | | (#19690) Problem: Checking character options is duplicated and incomplete. Solution: Move checking to check_chars_options(). (closes vim/vim#10863) https://github.com/vim/vim/commit/8ca29b6a3599b82b8822b7697cad63d0244c2d59
* docs(lua): add luv (`vim.loop`) reference manual (#19679)Christian Clason2022-08-09
| | | | Upstreamed from https://github.com/nanotee/luv-vimdocs with kind permission from @nanotee.
* vim-patch:8.1.1823: command line history code is spread out (#19688)zeertzjq2022-08-09
| | | | | | Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes vim/vim#4779) Also graduate the +cmdline_hist feature. https://github.com/vim/vim/commit/d7663c22c6c1ff0f86b81371586fbc851d3a3e9e
* vim-patch:partial: 48c3f4e0bff7 (#19684)Christian Clason2022-08-09
| | | | | | | | vim-patch:partial:48c3f4e0bff7 Update runtime files https://github.com/vim/vim/commit/48c3f4e0bff7efd289a7001b68c777b6f89a7057 partially skip `options.txt` (needs 9.0.0138)
* docs(lua): add Lua 5.1 reference manual (#19663)dundargoc2022-08-08
| | | | | | | | based on http://www.vim.org/scripts/script.php?script_id=1291 reformatted to match Nvim documentation style; removed irrelevant sections Co-authored-by: dundargoc <gocundar@gmail.com> Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Lewis Russell <lewis6991@gmail.com>
* feat(lsp): set formatexpr by default (#19677)Mathias Fußenegger2022-08-08
| | | Follow up to https://github.com/neovim/neovim/pull/19003
* test: increse expect_exit() timeouts (#19680)zeertzjq2022-08-08
| | | | A timeout of 100 milliseconds is sometimes still too short for macOS. Change it to 1000 milliseconds.
* Merge pull request #19674 from zeertzjq/vim-8.2.1535zeertzjq2022-08-08
|\ | | | | vim-patch:8.2.{1535,1537,3545}: setcellwidths()
| * fix(fillchars): change fallback after setcellwidths()zeertzjq2022-08-08
| |
| * vim-patch:8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalidzeertzjq2022-08-08
| | | | | | | | | | | | | | | | | | Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid. Solution: Check the value and give an error. (closes vim/vim#9024) https://github.com/vim/vim/commit/94358a1e6e640ca5ebeb295efdddd4e92b700673 Cherry-pick f_setcellwidths() change from patch 9.0.0036. Cherry-pick 'ambiwidth' docs update from runtime update 079ba76ae7a7.
| * refactor(setcellwidths): use TV_LIST_ITEM_NEXT properlyzeertzjq2022-08-08
| |
| * vim-patch:8.2.1537: memory acccess error when using setcellwidths()zeertzjq2022-08-08
| | | | | | | | | | | | Problem: Memory acccess error when using setcellwidths(). Solution: Use array and pointers correctly. https://github.com/vim/vim/commit/b06a6d59d12dbd67d55b3c46f6e5547e9103c931
| * vim-patch:8.2.1535: it is not possible to specify cell widths of characterszeertzjq2022-08-08
| | | | | | | | | | | | | | | | Problem: It is not possible to specify cell widths of characters. Solution: Add setcellwidths(). https://github.com/vim/vim/commit/08aac3c6192f0103cb87e280270a32b50e653be1 Co-Authored-By: delphinus <me@delphinus.dev>
| * refactor: move non-symbols in mbyte.h to mbyte_defs.hzeertzjq2022-08-08
|/ | | | | This just avoids including mbyte.h in eval/typval.h, so that mbyte.h can include eval/typval.h in Vim patch 8.2.1535.
* fix(lsp): set end_col in formatexpr (#19676)Mathias Fußenegger2022-08-08
| | | | The last line was excluded from formatting via formatexpr because the character in the params was set to 0 instead of the end of line.
* feat(lsp): disable exit_timeout by default (#19672)Mathias Fußenegger2022-08-08
| | | | | | | | | | | | | | | | | The lsp client used to wait up to 500ms for a language server to shutdown before sending a TERM signal. The intention behind the 500ms grace period was to ensure the language server exits to prevent stale processes, but it has the side-effect that it can interrupt language-servers which are too slow to shutdown within 500ms. Language servers tend to write out index files or project files on shutdown, and being interrupted during this process can cause corruption of those files. This changes the default to not wait at all, at the risk of leaving stale processes around if the language server isn't well behaved. An alternative would be to wait indefinitely, but that can cause neovim to take several seconds to exit.
* fix(folds): fix fold remains when :delete makes buffer empty (#19673)zeertzjq2022-08-08
|
* fix(terminal): skip aucmd_win when checking terminal size (#19668)zeertzjq2022-08-07
|
* vim-patch:8.2.4492: no error if an option is given a value with ":let &opt = ↵zeertzjq2022-08-07
| | | | | | | | val" (#19670) Problem: No error if an option is given an invalid value with ":let &opt = val". Solution: Give the error. (closes vim/vim#9864) https://github.com/vim/vim/commit/8ccbbeb620dcc73154de29c51100fe815cefe109
* Merge pull request #19669 from zeertzjq/vim-8.2.1278zeertzjq2022-08-07
|\ | | | | vim-patch:8.2.{1278,1280,1281}: error message improvements
| * vim-patch:8.2.1281: the "trailing characters" error can be hard to understandzeertzjq2022-08-07
| | | | | | | | | | | | Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message. https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
| * vim-patch:8.2.1280: Ex command error cannot contain an argumentzeertzjq2022-08-07
| | | | | | | | | | | | | | | | | | Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197 Remove duplicate test file 062_tab_pages_spec.lua