From d6b3f9aaf670eec24ba008e9113839b308666f01 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 1 Jan 2025 01:19:19 +0100 Subject: fix: revert to rust.vim, fix weird cmp behavior --- lua/pml68/plugins/lang-specific.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lua/pml68/plugins/lang-specific.lua') diff --git a/lua/pml68/plugins/lang-specific.lua b/lua/pml68/plugins/lang-specific.lua index 782e207..8b664e3 100644 --- a/lua/pml68/plugins/lang-specific.lua +++ b/lua/pml68/plugins/lang-specific.lua @@ -14,6 +14,17 @@ return { build = ":GoInstallDeps", }, -- Rust + { + "rust-lang/rust.vim", + ft = "rust", + init = function() + vim.g.rustfmt_autosave = 1 + end, + config = function() + vim.keymap.set("n", "rts", "RustTest") + vim.keymap.set("n", "rta", "RustTest!") + end + }, { "saecki/crates.nvim", tag = "stable", @@ -35,6 +46,6 @@ return { ft = "tex", init = function() vim.g.vimtex_view_method = 'mupdf' - end + end, }, } -- cgit v1.2.3