diff --git a/lua/autocmds.lua b/lua/autocmds.lua index 27e9c8b..1ce5b07 100644 --- a/lua/autocmds.lua +++ b/lua/autocmds.lua @@ -82,6 +82,9 @@ vim.api.nvim_create_autocmd("FileType", { group = aug, pattern = "qf", -- Applies to both quickfix and location list callback = function() + -- Disable spell checking in quickfix/location list windows + vim.opt_local.spell = false + -- Use matchadd() for higher priority highlighting -- This will override the default qf syntax vim.fn.matchadd("qfError", "\\", 10)