-- Turn off paste mode when leaving insert vim.api.nvim_create_autocmd("InsertLeave", { pattern = "*", command = "set nopaste", }) -- 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" }, callback = function() vim.opt.conceallevel = 0 vim.o.tabstop = 2 vim.o.shiftwidth = 2 end, })