Add debugger for python and reorder linting logic

This commit is contained in:
salomaestro
2024-12-21 14:57:22 +01:00
parent 4d7d3d4803
commit baf14d1b8e
5 changed files with 185 additions and 49 deletions

View File

@@ -18,3 +18,11 @@ vim.api.nvim_create_autocmd("textyankpost", {
pattern = "*",
})
require "dap"
local sign = vim.fn.sign_define
sign("DapBreakpoint", { text = "", texthl = "DapBreakpoint", linehl = "", numhl = ""})
sign("DapBreakpointCondition", { text = "", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
sign("DapLogPoint", { text = "", texthl = "DapLogPoint", linehl = "", numhl = ""})
sign('DapStopped', { text='', texthl='DapStopped', linehl='DapStopped', numhl= 'DapStopped' })