mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
Several changes
This commit is contained in:
@@ -57,11 +57,14 @@ nnoremap('Q', '<Nop>')
|
||||
nnoremap('<Leader>hl', ':nohl<CR>')
|
||||
|
||||
-- Vim Test
|
||||
nnoremap('<leader>t', ':TestNearest<CR>')
|
||||
nnoremap('<leader>T', ':TestFile<CR>')
|
||||
nnoremap('<leader>a', ':TestSuite<CR>')
|
||||
nnoremap('<leader>l', ':TestLast<CR>')
|
||||
nnoremap('<leader>g', ':TestVisit<CR>')
|
||||
nnoremap('<leader>tt', ':TestNearest<CR>')
|
||||
nnoremap('<leader>tT', ':TestFile<CR>')
|
||||
nnoremap('<leader>ta', ':TestSuite<CR>')
|
||||
nnoremap('<leader>tl', ':TestLast<CR>')
|
||||
nnoremap('<leader>tg', ':TestVisit<CR>')
|
||||
|
||||
-- Reload init.lua
|
||||
nnoremap('<leader>sv', ':source $MYVIMRC<CR>')
|
||||
|
||||
vim.cmd("nnoremap <silent> <C-p> :Lspsaga diagnostic_jump_prev<CR>")
|
||||
vim.cmd("nnoremap <silent> <C-n> :Lspsaga diagnostic_jump_next<CR>")
|
||||
|
5
.config/nvim/after/plugin/neotest.lua
Normal file
5
.config/nvim/after/plugin/neotest.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
require("neotest").setup({
|
||||
adapters = {
|
||||
require("neotest-vim-test")({ allow_file_types = { "haskell", "elixir" } }),
|
||||
},
|
||||
})
|
@@ -2,7 +2,7 @@ local dap = require('dap')
|
||||
|
||||
dap.adapters.mix_task = {
|
||||
type = 'executable',
|
||||
command = '/Users/fbecker18/opt/elixir-ls/bin/debugger.sh', -- debugger.bat for windows
|
||||
command = '/home/halfdan/opt/elixir-ls/bin/debugger.sh', -- debugger.bat for windows
|
||||
args = {}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user