This commit is contained in:
Yaser Alraddadi 2025-02-16 17:39:32 +03:00
parent b7ce68ddde
commit 21dec419b0
2 changed files with 31 additions and 33 deletions

View file

@ -1,22 +1,16 @@
return {
-- {
-- 'rust-lang/rust.vim',
-- ft = 'rust',
-- init = function()
-- vim.g.rustfmt_autosave = 1
-- end,
-- },
{
'rust-lang/rust.vim',
ft = 'rust',
init = function()
vim.g.rustfmt_autosave = 1
end,
'mrcjkb/rustaceanvim',
version = '^5', -- Recommended
lazy = false, -- This plugin is already lazy
},
--{
-- "simrat39/rust-tools.nvim",
-- ft = "rust",
-- dependencies = "neovim/nvim-lspconfig",
-- opts = function()
-- return require "custom.configs.rust-tools"
-- end,
-- config = function(_, opts)
-- require("rust-tools").setup(opts)
-- end,
--},
{
'saecki/crates.nvim',
ft = { 'rust', 'toml' },
@ -27,8 +21,12 @@ return {
crates.show()
end,
},
{
'cordx56/rustowl',
dependencies = { 'neovim/nvim-lspconfig' },
},
-- {
-- 'cordx56/rustowl',
-- dependencies = { 'neovim/nvim-lspconfig' },
-- -- config = function()
-- -- local lspconfig = require 'lspconfig'
-- -- lspconfig.rustowlsp.setup {}
-- -- end,
-- },
}