Skip to content

Commit

Permalink
fix: add more load events
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibrock committed Jun 3, 2024
1 parent e5435da commit 1798d3e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lua/spellwarn/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
local M = {}
local defaults = {
-- FIX: Trouble.nvim jump to diagnostic is slightly buggy with `TextChanged` event; no good workaround though AFAICT
event = { "TextChanged", "TextChangedI", "TextChangedP", "TextChangedT" }, -- event(s) to refresh diagnostics on
event = {
"BufNewFile",
"BufReadPost",
"TextChanged",
"TextChangedI",
"TextChangedP",
"TextChangedT",
}, -- event(s) to refresh diagnostics on
ft_config = { -- filetypes to override ft_default for
alpha = false,
help = false,
Expand Down

0 comments on commit 1798d3e

Please sign in to comment.