fix(autocmds): apply conceal level change to local buffer options

This commit is contained in:
Michael Olson 2024-01-22 18:59:07 -05:00
parent 54ae77e164
commit 983a3ac283

View file

@ -90,7 +90,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
group = augroup("json_conceal"),
pattern = { "json", "jsonc", "json5" },
callback = function()
vim.wo.conceallevel = 0
vim.opt_local.conceallevel = 0
end,
})