cargo target
This commit is contained in:
parent
4aa98908b6
commit
c1aba36a42
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user