diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-02-01 14:38:24 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-02-01 14:38:24 -0600 |
commit | 130eede87d4dee6aee31157417f90f7bacb1525f (patch) | |
tree | a08b22a71f26833368e50df37e249f9b9e867bd4 /lua/plugins/rust.lua | |
parent | d9e3da291a1748d9b1c8efebcd6d12cbf092c3c6 (diff) |
feat: add rust support
Diffstat (limited to 'lua/plugins/rust.lua')
-rw-r--r-- | lua/plugins/rust.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} |