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 GitHub
parent 54ae77e164
commit 591f850f8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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