Use fixed rustaceanvim version
parent
329e46f137
commit
fed7d15710
|
@ -155,7 +155,11 @@ return require("lazy").setup({
|
|||
-- LSP language specific
|
||||
"folke/neodev.nvim", -- Built-in Lua integration with LSP
|
||||
"akinsho/flutter-tools.nvim", -- Additional flutter integrations
|
||||
{ "mrcjkb/rustaceanvim", ft = "rust" }, -- Additional rust integrations
|
||||
{
|
||||
"mrcjkb/rustaceanvim",
|
||||
version = "^5", -- Recommended
|
||||
lazy = false, -- This plugin is already lazy
|
||||
},
|
||||
{ "mfussenegger/nvim-jdtls", ft = "java" }, -- Additional java integrations
|
||||
"scalameta/nvim-metals", -- Scala
|
||||
|
||||
|
|
|
@ -91,8 +91,11 @@ vim.g.rustaceanvim = {
|
|||
on_attach = function(client, bufnr)
|
||||
common_config.on_attach(client, bufnr)
|
||||
end,
|
||||
cmd = { "ra-multiplex" },
|
||||
settings = {
|
||||
logfile = vim.fn.tempname() .. "-rust-analyzer.log",
|
||||
cmd = function()
|
||||
return { "ra-multiplex", "client", "--", "--log-file", vim.g.rustaceanvim.server.logfile }
|
||||
end,
|
||||
default_settings = {
|
||||
["rust-analyzer"] = {
|
||||
checkOnSave = {
|
||||
command = "clippy",
|
||||
|
|
Loading…
Reference in New Issue