From c09067046378e438b06b8c3069d7d9cd43620f27 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 22 Jan 2026 13:54:01 +0000 Subject: [PATCH] disable spell checking in quickfix/location list This change ensures that spell checking is turned off in quickfix and location list windows to improve usability and avoid distractions. --- lua/autocmds.lua | 3 +++ 1 file changed, 3 insertions(+) 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)