From fb6de85bc36f7d477aae5c2a0a2c9e4051127883 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Sun, 14 Nov 2021 20:26:21 -0500 Subject: [PATCH] Correct RustTest keybinding --- lua/keybindings.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/keybindings.lua b/lua/keybindings.lua index 606d9eb..95786f1 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -85,6 +85,7 @@ local on_attach = function(client, bufnr) end -- Code actions -map('n', 't', 'CargoTest', options) -- Run test under cursor +-- TODO: Generalize to LSP or only attach on Rust buffers +map('n', 't', 'RustTest', options) -- Run test under cursor return { on_attach = on_attach }