after/ftplugin instead of autocmd

Use after/ftplugin instead of autocmds to handle options depending on
filetype
This commit is contained in:
Oliver Ladner 2024-05-17 15:24:50 +02:00
commit aa0f1fbd92
5 changed files with 26 additions and 9 deletions

3
after/ftplugin/go.lua Normal file
View file

@ -0,0 +1,3 @@
vim.keymap.set("n", "<space>td", function()
require("dap-go").debug_test()
end, { buffer = 0 })