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.
This commit is contained in:
parent
eb34b793b5
commit
c090670463
|
|
@ -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", "\\<error\\>", 10)
|
||||
|
|
|
|||
Loading…
Reference in New Issue