added rust-tools - missing correct config
This commit is contained in:
parent
858ee9b7d3
commit
ca7c046589
2 changed files with 21 additions and 4 deletions
|
|
@ -4,10 +4,29 @@
|
|||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
{
|
||||
"rust-lang/rust.vim",
|
||||
ft = "rust",
|
||||
'rust-lang/rust.vim',
|
||||
ft = 'rust',
|
||||
init = function ()
|
||||
vim.g.rustfmt_autosave = 1
|
||||
end
|
||||
},
|
||||
{
|
||||
'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
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
--[[
|
||||
init = function()
|
||||
require("core.utils").load_mappings("dap")
|
||||
end
|
||||
]]--
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue