feat(nvim): add run key to typescript files

This commit is contained in:
Price Hiller 2023-10-14 18:03:29 -05:00
parent 65e0c15cca
commit 947bd51ec1
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -0,0 +1,10 @@
vim.keymap.set("n", "<leader>fr",
function()
vim.cmd.write()
vim.cmd.terminal("deno run " .. vim.fn.expand("%"))
end,
{
buffer = true,
silent = true
}
)