cargo target

This commit is contained in:
EvilMuffinHa 2022-09-06 01:02:14 -04:00
parent 4aa98908b6
commit c1aba36a42

View File

@ -41,6 +41,9 @@ local lsp_confs = {
},
},
rust_analyzer = {
cmd_env = {
CARGO_TARGET_DIR = "/tmp/rust-analyzer"
},
settings = {
["rust-analyzer"] = {
checkOnSave = {
@ -89,6 +92,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