summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/crates.lua9
-rw-r--r--lua/plugins/git.lua (renamed from lua/plugins/gitsigns.lua)0
-rw-r--r--lua/plugins/rust.lua27
3 files changed, 19 insertions, 17 deletions
diff --git a/lua/plugins/crates.lua b/lua/plugins/crates.lua
deleted file mode 100644
index e0c46be..0000000
--- a/lua/plugins/crates.lua
+++ /dev/null
@@ -1,9 +0,0 @@
-return {
- 'Saecki/crates.nvim',
- ft = { 'rust', 'toml' },
- config = function(_, opts)
- local crates = require('crates')
- crates.setup(opts)
- crates.show()
- end
-}
diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/git.lua
index a40a3dc..a40a3dc 100644
--- a/lua/plugins/gitsigns.lua
+++ b/lua/plugins/git.lua
diff --git a/lua/plugins/rust.lua b/lua/plugins/rust.lua
index e4bc53f..358248d 100644
--- a/lua/plugins/rust.lua
+++ b/lua/plugins/rust.lua
@@ -1,10 +1,21 @@
return {
- -- For debugging capabilities, need to change the config
- -- from lspconfig into it's own thing, for more:
- -- https://www.youtube.com/watch?v=mh_EJhH49Ms
- 'rust-lang/rust.vim',
- ft = 'rust',
- init = function()
- vim.g.rustfmt_autosave = 1
- end
+ {
+ -- For debugging capabilities, need to change the config
+ -- from lspconfig into it's own thing, for more:
+ -- https://www.youtube.com/watch?v=mh_EJhH49Ms
+ 'rust-lang/rust.vim',
+ ft = 'rust',
+ init = function()
+ vim.g.rustfmt_autosave = 1
+ end
+ },
+ {
+ 'Saecki/crates.nvim',
+ ft = { 'rust', 'toml' },
+ config = function(_, opts)
+ local crates = require('crates')
+ crates.setup(opts)
+ crates.show()
+ end
+ },
}