diff options
author | Maria José Solano <majosolano99@gmail.com> | 2024-02-26 11:42:51 -0800 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-27 16:50:51 +0100 |
commit | 63f9c2da9aab52fa698fcbfdbc58ffd41794d28a (patch) | |
tree | 37742567d493c54245e6e0b1004f5d18b4319945 /runtime/doc | |
parent | 3d96e3f9f25389e979bb7f2417ec2135f79fbfbb (diff) | |
download | rneovim-63f9c2da9aab52fa698fcbfdbc58ffd41794d28a.tar.gz rneovim-63f9c2da9aab52fa698fcbfdbc58ffd41794d28a.tar.bz2 rneovim-63f9c2da9aab52fa698fcbfdbc58ffd41794d28a.zip |
feat(lsp): support completion itemDefaults
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/news.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 9ce96b7a67..6895254a42 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -125,6 +125,15 @@ The following changes may require adaptations in user config or plugins. • Returning any truthy value from a callback passed to |nvim_create_autocmd()| (rather than just `true`) will delete the autocommand. +• |vim.lsp.util.extract_completion_items()| will no longer return reliable + results, since it does not apply `itemDefaults` when its input is a + `CompletionList`. + Moreover, since support for LSP `completionList.itemDefaults` was added, + some third party plugins might be negatively impacted in case the language + servers support the feature but the plugin does not. + If necessary, the respective capability can be + removed when calling |vim.lsp.protocol.make_client_capabilities()|. + ============================================================================== BREAKING CHANGES IN HEAD *news-breaking-dev* @@ -213,6 +222,11 @@ The following new APIs and features were added. the original LSP `Location` or `LocationLink`. • Added support for connecting to servers using named pipes (Windows) or unix domain sockets (Unix) via |vim.lsp.rpc.domain_socket_connect()|. + • Added support for `completionList.itemDefaults`, reducing overhead when + computing completion items where properties often share the same value + (e.g. `commitCharacters`). Note that this might affect plugins and + language servers that don't support the feature, and in such cases the + respective capability can be unset. • Treesitter • Bundled parsers and queries (highlight, folds) for Markdown, Python, and |