fixed broken rust-tools
This commit is contained in:
parent
ad766da79f
commit
08071ec95a
|
@ -58,12 +58,12 @@ return require('packer').startup(function(use)
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
after = "mason-lspconfig.nvim",
|
after = "mason-lspconfig.nvim",
|
||||||
|
after = "rust-tools.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require('LSPconfig')
|
require('LSPconfig')
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{'simrat39/rust-tools.nvim',
|
{'simrat39/rust-tools.nvim',
|
||||||
after = "nvim-lspconfig",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ local opts = {
|
||||||
-- how to execute terminal commands
|
-- how to execute terminal commands
|
||||||
executor = require("rust-tools/executors").termopen,
|
executor = require("rust-tools/executors").termopen,
|
||||||
inlay_hints = {
|
inlay_hints = {
|
||||||
|
auto=true,
|
||||||
-- Only show inlay hints for the current line
|
-- Only show inlay hints for the current line
|
||||||
only_current_line = false,
|
only_current_line = false,
|
||||||
-- Event which triggers a refersh of the inlay hints.
|
-- Event which triggers a refersh of the inlay hints.
|
||||||
|
@ -57,9 +58,9 @@ local opts = {
|
||||||
-- crates
|
-- crates
|
||||||
full = true,
|
full = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- all the opts to send to nvim-lspconfig
|
-- all the opts to send to nvim-lspconfig
|
||||||
server = {
|
server = {
|
||||||
-- standalone file support
|
-- standalone file support
|
||||||
-- setting it to false may improve startup time
|
-- setting it to false may improve startup time
|
||||||
standalone = true,
|
standalone = true,
|
||||||
|
@ -72,7 +73,7 @@ server = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
-- debugging stuff
|
-- debugging stuff
|
||||||
dap = {
|
dap = {
|
||||||
adapter = {
|
adapter = {
|
||||||
|
|
Loading…
Reference in a new issue