Add which-key, lsp and dap and multiple keybinds

This commit is contained in:
Zam Kokott
2025-12-10 14:46:41 +00:00
parent 6073938c44
commit 0d78f3b576
6 changed files with 37 additions and 9 deletions

View File

@@ -6,11 +6,11 @@ return {
python = { 'dmypy' }
}
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
group = lint_augroup,
callback = function()
-- try_lint without arguments runs the linters defined in `linters_by_ft`
-- for the current filetype
require("lint").try_lint()
lint.try_lint()
end,
})
end