aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* docs(html): define anchors for search engine #23879Justin M. Keyes2023-06-02
| | | | | | | | | | | | | Problem: Selecting a search result from the Algolia Docsearch widget does not navigate to a page anchor. The docs HTML provides `<a name=…>` anchors _near_ the `<h1>`/`<h2>`/… headings, but Algolia Docsearch expects the anchors to be _defined on_ the headings. That's also "semantically" nicer. https://docsearch.algolia.com/docs/manage-your-crawls/ Solution: Set `id` on the heading element instead of placing `<a name=…>` nearby. related: 3913ebbfcde7 #23839
* ci: remove ci/ from cache key (#23878)zeertzjq2023-06-02
| | | The ci/ directory is now only used for Cirrus, not for GitHub Actions.
* fix(health): stop job properly on timeout (#23877)zeertzjq2023-06-02
|
* vim-patch:9.0.1597: cursor ends up below the window after a put (#23873)zeertzjq2023-06-02
| | | | | | | | | Problem: Cursor ends up below the window after a put. Solution: Mark w_crow and w_botline invalid when changing the cursor line. (closes vim/vim#12465) https://github.com/vim/vim/commit/8509014adda188ee8bdf6a2e123fbf15a91b29d2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1598: screenchar() and others are wrong with DBCS 'encoding' ↵zeertzjq2023-06-02
| | | | | | | | | | (#23872) Problem: screenchar(), screenchars() and screenstring() do not work properly when 'encoding' is set to a double-byte encoding. Solution: Fix the way the bytes of the characters are obtained. (issue vim/vim#12469) https://github.com/vim/vim/commit/47eec6716b8621fd43bac8ecc9c19089df26705e
* Merge pull request #23871 from gpanders/lsp-position-encodingGregory Anders2023-06-01
|\ | | | | Add support for LSP positionEncoding capability
| * feat(lsp): include positionEncodings in default client capabilitiesGregory Anders2023-06-01
| |
| * feat(lsp): set client offset_encoding if server supports positionEncodingGregory Anders2023-06-01
|/ | | | | | If the server sends the positionEncoding capability in its initialization response, automatically set the client's offset_encoding to use the value provided.
* Merge pull request #23789 from luukvbaal/spellzeertzjq2023-06-01
|\ | | | | vim-patch:9.0.{1585,1595}
| * refactor(drawscreen): avoid spell check on folded or filler lineszeertzjq2023-06-01
| |
| * vim-patch:9.0.1595: line pointer becomes invalid when using spell checkingLuuk van Baal2023-06-01
| | | | | | | | | | | | | | Problem: Line pointer becomes invalid when using spell checking. Solution: Call ml_get() at the right places. (Luuk van Baal, closes vim/vim#12456) https://github.com/vim/vim/commit/e84c773d42e8b6ef0f8ae9b6c7312e0fd47909af
| * vim-patch:9.0.1585: weird use of static variables for spell checkingLuuk van Baal2023-06-01
| | | | | | | | | | | | | | | | Problem: Weird use of static variables for spell checking. Solution: Move the variables to a structure and pass them from win_update() to win_line(). (Luuk van Baal, closes vim/vim#12448) https://github.com/vim/vim/commit/30805a1aba0067cf0087f9a0e5c184562433e2e7
* | vim-patch:9.0.1596: :registers command does not work in sandbox (#23866)zeertzjq2023-06-01
| | | | | | | | | | | | | | | | Problem: :registers command does not work in sandbox. Solution: Add flag to the command. (closes vim/vim#12473) https://github.com/vim/vim/commit/eb43b7f0531bd13d15580b5c262a25d6a52a0823 Co-authored-by: Julio B <julio.bacel@gmail.com>
* | fix(column): don't overflow sign column with extmark signs (#23854)zeertzjq2023-06-01
| |
* | fix(lsp): add param assert in client_is_stopped (#23857)Raphael2023-06-01
| |
* | ci(issue-open-check): don't add "doc" labelzeertzjq2023-05-31
| | | | | | "doc" label doesn't exist and mentioning "doc" doesn't mean anything.
* | docs(html): algolia docsearch #23839Justin M. Keyes2023-05-30
| | | | | | | | | | | | | | | | | | Need to manually include this in the generated docs html because it doesn't use the website's (jekyll) layout template. Maintenance notes: https://github.com/neovim/neovim.github.io/#maintenance Related: https://github.com/neovim/neovim.github.io/commit/ce9aef12eb1c98135965e3a9c5c792bf9e506a76
* | test(extmarks): folding inline virt_text on empty line (#23847)zeertzjq2023-05-31
| |
* | feat(lsp)!: promote LspRequest to a full autocmd and enrich with additional ↵jdrouhard2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | data (#23694) BREAKING CHANGE: LspRequest is no longer a User autocmd but is now a first class citizen. LspRequest as a User autocmd had limited functionality. Namely, the only thing you could do was use the notification to do a lookup on all the clients' requests tables to figure out what changed. Promoting the autocmd to a full autocmd lets us set the buffer the request was initiated on (so people can set buffer-local autocmds for listening to these events). Additionally, when used from Lua, we can pass additional metadata about the request along with the notification, including the client ID, the request ID, and the actual request object stored on the client's requests table. Users can now listen for these events and act on them proactively instead of polling all of the requests tables and looking for changes.
* | fix(lsp): fix dynamic registration of code actions (#23826)Folke Lemaitre2023-05-30
| |
* | vim-patch:8.2.3689: ex_let_one() is too long (#23830)zeertzjq2023-05-30
| | | | | | | | | | | | | | | | Problem: ex_let_one() is too long. Solution: Split into multiple functions. https://github.com/vim/vim/commit/3ccb5795168793e1b119a028da4035f77cef9f69 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | fix(statusline): corrupted screen with minwid sign item in 'statuscolumn' ↵luukvbaal2023-05-30
| | | | | | | | (#23823)
* | vim-patch:9.0.1588: Incsearch not triggered when pasting clipboard register ↵zeertzjq2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | (#23817) Problem: Incsearch not triggered when pasting clipboard register on the command line. Solution: Also set "literally" when using a clipboard register. (Ken Takata, closes vim/vim#12460) https://github.com/vim/vim/commit/9cf6ab133227ac7e9169941752293bb7178d8e38 Co-authored-by: K.Takata <kentkt@csc.jp>
* | vim-patch:9.0.1591: some "gomod" files are not recognized (#23820)Omar El Halabi2023-05-30
| | | | | | | | | | | | | | Problem: Some "gomod" files are not recognized. Solution: Check for "go.mod" file name before checking out the contents. (Omar El Halabi, closes vim/vim#12462) https://github.com/vim/vim/commit/c9fbd2560f24180d2efa40028ed68427341d2d99
* | vim-patch:9.0.1586: error for using two messages with ngettext() differing ↵zeertzjq2023-05-29
| | | | | | | | | | | | | | | | | | | | | | in "%" (#23816) Problem: Checking translations gives an error for using two messages with ngettext() that differ in "%" items. Solution: Adjust the check script to tolerate omitting one "%" item. https://github.com/vim/vim/commit/78ee62563ea940086f094150f0356e38f780c580 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | vim-patch:9.0.1587: Corn config files are not recognized (#23807)Christian Clason2023-05-29
| | | | | | | | | | | | | | | | Problem: Corn config files are not recognized. Solution: Add a pattern for Corn config files. (Jake Stanger, closes vim/vim#12449) https://github.com/vim/vim/commit/05843e89601c03389a2d7978e7e16aec641a3dc4 Co-authored-by: Jake Stanger <mail@jstanger.dev>
* | fix(substitute): properly check if preview is needed (#23809)zeertzjq2023-05-29
| |
* | build: remove LOG_LIST_ACTIONS option and related codedundargoc2023-05-28
| | | | | | | | It has not been used for a long time and the likelihood of it still working is low.
* | fix(NVIM_APPNAME): show error message if $NVIM_APPNAME is invalidGhjuvan Lacambre2023-05-28
| | | | | | Closes https://github.com/neovim/neovim/issues/23056.
* | build: align .clang-format rules with uncrustify configTom Praschan2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | Difference can be seen e.g. in qf_add_entry(), where clang-format previously would want to place each parameter declaration on its own line (BinPackParameter: false), while uncrustify behaves if as BinPackParameters was set to true. Same goes for BinPackArguments. See https://clang.llvm.org/docs/ClangFormatStyleOptions.html#BinPackParameters and https://clang.llvm.org/docs/ClangFormatStyleOptions.html#binpackarguments
* | build: remove LOG_DEBUG optiondundargoc2023-05-28
| | | | | | | | | | Its usecase is too specific to warrant an option. The same effect can be achieved by passing `-DCMAKE_C_FLAGS=-DNVIM_LOG_DEBUG` in the command line when building neovim.
* | fix(ftplugin): source Lua files after Vimscript files per directory (#23801)Christian Clason2023-05-28
| | | | | | | | | | | | Problem: Lua ftplugins in runtime take precedence over Vimscript ftplugins in user configs (even in `after/`). Solution: Source ftplugins separately per directory, first Vimscript then Lua.
* | vim-patch:9.0.1584: not all meson files are recognized (#23797)Christian Clason2023-05-28
| | | | | | | | | | | | | | | | Problem: Not all meson files are recognized. Solution: Add "meson.options". (Liam Beguin, closes vim/vim#12444) https://github.com/vim/vim/commit/1ba0b9e36f36926a7675b31efeda7d3e495c9157 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | fix(extmarks): fix virt_text_hide off-by-one hiding (#23795)zeertzjq2023-05-28
| |
* | fix(extmarks): don't show virt lines for end mark (#23792)zeertzjq2023-05-28
| |
* | test(extmarks): add tests for #14201 #20004 #20885 (#23794)zeertzjq2023-05-28
| |
* | feat(lsp): initial support for dynamic capabilities (#23681)Folke Lemaitre2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | - `client.dynamic_capabilities` is an object that tracks client register/unregister - `client.supports_method` will additionally check if a dynamic capability supports the method, taking document filters into account. But only if the client enabled `dynamicRegistration` for the capability - updated the default client capabilities to include dynamicRegistration for: - formatting - rangeFormatting - hover - codeAction - hover - rename
* | test(extmarks): add test for virt_text_hide with 'smoothscroll' (#23791)zeertzjq2023-05-28
| |
* | vim-patch:9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2" (#23790)zeertzjq2023-05-28
|/ | | | | | | | | Problem: Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott) Solution: Add 4th crypt method to block zero ID check. Avoid syncing a swap file before reading the file. (closes vim/vim#12433) https://github.com/vim/vim/commit/3a2a60ce4a8e73594bca16814672fcc243d093ac Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1582: :stopinsert may not work in a popup close handler (#23785)zeertzjq2023-05-27
| | | | | | | Problem: :stopinsert may not work in a popup close handler. (Ben Jackson) Solution: Restore stop_insert_mode when appropriate. (closes vim/vim#12452, closes vim/vim#12434) https://github.com/vim/vim/commit/a40c0bcc83c32da02869f59b10538d6327df61c5
* fix(extmarks): make right_align and win_col work on wrapped line (#23759)zeertzjq2023-05-27
|
* ci: remove reviewdog for uncrustifydundargoc2023-05-27
| | | Now that uncrustify is bundled it is no longer necessary.
* fix(tui): restore title before exiting alternate screen (#23776)zeertzjq2023-05-27
| | | | Since title stack is now saved after entering alternate screen, it makes more sense to restore title before exiting alternate screen.
* fix: function was renamed (#23772)Matthieu Coudron2023-05-26
|
* build(vim-patch.sh): use bundled uncrustify (#23770)zeertzjq2023-05-26
|
* vim-patch:9.0.1580: CI: indent test hangs on FreeBSD (#23768)zeertzjq2023-05-26
| | | | | | | | | Problem: CI: indent test hangs on FreeBSD. Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi, closes vim/vim#12446) https://github.com/vim/vim/commit/9f3afe7a70d50447424b8d7404aae0d641cd827c Co-authored-by: ichizok <gclient.gaap@gmail.com>
* fix(tui): don't set tty background if &bg was set before VimEnter (#23701)Null Chilly2023-05-26
|
* Merge pull request #23742 from bfredl/neolightbfredl2023-05-26
|\ | | | | fix(drawline): combine extmark highlight with area hl correctly
| * fix(drawline): combine extmark highligh with area hl correctlybfredl2023-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #23734 Get rid of the weird attr_pri dance which always seemed like a kludge: if (!attr_pri) { wlv.char_attr = hl_combine_attr(wlv.char_attr, extmark_attr); } else { wlv.char_attr = hl_combine_attr(extmark_attr, wlv.char_attr); } Instead combine extmark attrs with (old-skool) syntax attrs in a consistent way and then combine that with attr_pri and the rest in an _unified_ code path fixes #23722 Co-authored-by: luukvbaal <luukvbaal@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | Merge pull request #23583 from zeertzjq/ui-attach-titlebfredl2023-05-26
|\ \ | | | | | | fix(ui-ext): send title to newly-attached UI