Correct RustTest keybinding

writing
Nick Zana 3 years ago
parent 4a95aabffb
commit fb6de85bc3
No known key found for this signature in database
GPG Key ID: A6E59E60FE474883

@ -85,6 +85,7 @@ local on_attach = function(client, bufnr)
end
-- Code actions
map('n', '<leader>t', '<cmd>CargoTest<CR>', options) -- Run test under cursor
-- TODO: Generalize to LSP or only attach on Rust buffers
map('n', '<leader>t', '<cmd>RustTest<CR>', options) -- Run test under cursor
return { on_attach = on_attach }

Loading…
Cancel
Save