kickstart.nvim/lua/custom/plugins/rust.lua

33 lines
731 B
Lua
Raw Normal View History

2024-06-23 10:32:53 +03:00
return {
2025-02-16 17:39:32 +03:00
-- {
-- 'rust-lang/rust.vim',
-- ft = 'rust',
-- init = function()
-- vim.g.rustfmt_autosave = 1
-- end,
-- },
2024-06-23 10:32:53 +03:00
{
2025-02-16 17:39:32 +03:00
'mrcjkb/rustaceanvim',
version = '^5', -- Recommended
lazy = false, -- This plugin is already lazy
2024-06-23 10:32:53 +03:00
},
{
'saecki/crates.nvim',
ft = { 'rust', 'toml' },
dependencies = { 'nvim-lua/plenary.nvim' },
config = function(_, opts)
local crates = require 'crates'
crates.setup(opts)
crates.show()
end,
},
2025-02-16 17:39:32 +03:00
-- {
-- 'cordx56/rustowl',
-- dependencies = { 'neovim/nvim-lspconfig' },
-- -- config = function()
-- -- local lspconfig = require 'lspconfig'
-- -- lspconfig.rustowlsp.setup {}
-- -- end,
-- },
2024-06-23 10:32:53 +03:00
}