diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-03 06:44:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-03 06:44:40 -0800 |
| commit | d9878aa557469539f8fb8e3400e8268cf7aeb476 (patch) | |
| tree | 9622b9a2f94d768e8bdd915f8c31784d6be08693 /lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar.gz nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar.bz2 nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar.lz nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar.xz nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.tar.zst nvim-lspconfig-d9878aa557469539f8fb8e3400e8268cf7aeb476.zip | |
Merge pull request #519 from mjlbach/remove_rust_analyzer_workaround
Remove rust analyzer workaround
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/rust_analyzer.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lua/lspconfig/rust_analyzer.lua b/lua/lspconfig/rust_analyzer.lua index 12bcfbae..4ea77cac 100644 --- a/lua/lspconfig/rust_analyzer.lua +++ b/lua/lspconfig/rust_analyzer.lua @@ -1,17 +1,6 @@ local configs = require 'lspconfig/configs' local util = require 'lspconfig/util' --- neovim doesn't support the full 3.16 spec, but latest rust-analyzer requires the following capabilities. --- Remove once implemented. -local default_capabilities = vim.lsp.protocol.make_client_capabilities() -default_capabilities.workspace.workspaceEdit = { - normalizesLineEndings = true; - changeAnnotationSupport = { - groupsOnLabel = true; - }; -}; -default_capabilities.textDocument.rename.prepareSupportDefaultBehavior = 1; - configs.rust_analyzer = { default_config = { cmd = {"rust-analyzer"}; @@ -20,7 +9,6 @@ configs.rust_analyzer = { settings = { ["rust-analyzer"] = {} }; - capabilities = default_capabilities; }; docs = { package_json = "https://raw.githubusercontent.com/rust-analyzer/rust-analyzer/master/editors/code/package.json"; |
