Compare commits

..

2 Commits

View File

@ -41,6 +41,9 @@ local lsp_confs = {
}, },
}, },
rust_analyzer = { rust_analyzer = {
cmd_env = {
CARGO_TARGET_DIR = "/tmp/rust-analyzer"
},
settings = { settings = {
["rust-analyzer"] = { ["rust-analyzer"] = {
checkOnSave = { checkOnSave = {
@ -91,6 +94,7 @@ local lsp_special_setup = {
local lspconfig = require('lspconfig') local lspconfig = require('lspconfig')
for server, conf in pairs(lsp_confs) do for server, conf in pairs(lsp_confs) do
local source_on_attach = conf.on_attach local source_on_attach = conf.on_attach
if source_on_attach == nil then if source_on_attach == nil then