Skip to content

Commit

Permalink
Add neotest-go
Browse files Browse the repository at this point in the history
  • Loading branch information
RhydianJenkins committed Feb 16, 2024
1 parent 40b5db0 commit be6fa62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nvim/after/plugin/neotest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ vim.keymap.set("n", "<leader>tf", function()
end, { desc = "[T]est [f]ile" })

vim.keymap.set("n", "<leader>tl", function()
neotest.neotest.run.run_last()
neotest.run.run_last()
end, { desc = "[T]est [l]ast" })

vim.keymap.set("n", "<leader>to", function()
Expand Down Expand Up @@ -91,5 +91,6 @@ neotest.setup({
require("neotest-vim-test")({
ignore_file_types = { "js", "ts", "jsx", "tsx", "php" },
}),
require("neotest-go"),
},
})
1 change: 1 addition & 0 deletions nvim/lua/rhydian/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ return {
"haydenmeade/neotest-jest",
"olimorris/neotest-phpunit",
"rouge8/neotest-rust",
"nvim-neotest/neotest-go",
},
},

Expand Down

0 comments on commit be6fa62

Please sign in to comment.