1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 00:49:26 +00:00

[neovim] Add copilot

This commit is contained in:
2024-02-12 20:46:40 +01:00
parent 64cf03dcac
commit d1c002183f
10 changed files with 72 additions and 24 deletions

View File

@ -15,7 +15,6 @@ vim.api.nvim_create_user_command("CopyDirectoryPath", function()
vim.notify('Copied "' .. path .. '" to the clipboard!')
end, {})
local neotest = require("neotest")
neotest.setup({
@ -30,11 +29,10 @@ neotest.setup({
},
})
vim.api.nvim_create_user_command("RunTest", function()
neotest.run.run()
neotest.run.run()
end, {})
vim.api.nvim_create_user_command("RunTestFile", function()
neotest.run.run(vim.fn.expand('%'))
neotest.run.run(vim.fn.expand("%"))
end, {})