[nvim] feat: add rust_analyzer LSP

This commit is contained in:
David JULIEN 2022-12-02 16:15:29 +01:00
parent c2d120ecf4
commit e87b863640
2 changed files with 17 additions and 0 deletions

View File

@ -60,6 +60,7 @@ capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
local servers = {
"clangd",
"rust_analyzer",
"sumneko_lua",
"texlab",
}

View File

@ -0,0 +1,16 @@
-- Author : swytch
-- Created : Wednesday Nov. 30, 2022 16:35:43 CET
-- License : GPLv3
-- Description : neovim lsp config file for rust_analyzer
local M = {}
local rust_analayzer_binary = _G.lsp_root_dir .. "rust_analyzer/rust_analyzer"
M.setup = function(opts)
opts.settings = {}
end
return M