Compare commits

...

2 Commits

View File

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