@ -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 }