feat: support dap

This commit is contained in:
2024-05-21 14:22:14 +08:00
parent 22b880e642
commit 6283ab3cfb
4 changed files with 43 additions and 3 deletions
+5 -3
View File
@@ -7,10 +7,12 @@ vim.api.nvim_create_autocmd("InsertLeave", {
-- Disable the concealing in some file formats
-- The default conceallevel is 3 in LazyVim
vim.api.nvim_create_autocmd("FileType", {
pattern = {"*.js","*.tsx","*.ts", "*.json", "*.jsonc", "*.markdown","*.md" },
pattern = {"js","tsx","ts", "json", "jsonc", "markdown","md","css","html" },
callback = function()
vim.opt.conceallevel = 0
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.shiftwidth = 2
vim.bo.expand = true
end,
})