From 130eede87d4dee6aee31157417f90f7bacb1525f Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Thu, 1 Feb 2024 14:38:24 -0600 Subject: feat: add rust support --- lua/plugins/rust.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/plugins/rust.lua (limited to 'lua/plugins/rust.lua') diff --git a/lua/plugins/rust.lua b/lua/plugins/rust.lua new file mode 100644 index 0000000..e4bc53f --- /dev/null +++ b/lua/plugins/rust.lua @@ -0,0 +1,10 @@ +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 +} -- cgit v1.2.3-54-g00ecf