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

This commit is contained in:
Michael Olson 2024-01-23 01:51:34 -05:00 committed by Andreas Gerlach
parent 252afe8ed5
commit f2141eedaf

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,
})