mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
Many changes
This commit is contained in:
@@ -1,6 +1,22 @@
|
||||
require("neotest").setup({
|
||||
local nnoremap = require('halfdan.keymap').nnoremap
|
||||
local neotest = require('neotest')
|
||||
|
||||
neotest.setup({
|
||||
adapters = {
|
||||
require("neotest-vim-test")({ allow_file_types = { "haskell"} }),
|
||||
require("neotest-elixir")
|
||||
require("neotest-elixir"),
|
||||
-- require("neotest-vim-test")({ allow_file_types = { "haskell"} }),
|
||||
},
|
||||
})
|
||||
|
||||
nnoremap("<leader>nt", function ()
|
||||
neotest.run.run()
|
||||
end)
|
||||
|
||||
nnoremap("<leader>nf", function ()
|
||||
neotest.run.run(vim.fn.expand("%"))
|
||||
end)
|
||||
|
||||
nnoremap("<leader>nd", function ()
|
||||
neotest.run.run({strategy = "dap"})
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user