We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4bacaa commit 677e92bCopy full SHA for 677e92b
lua/spellwarn/diagnostics.lua
@@ -11,6 +11,7 @@ local function get_bufs_loaded()
11
return bufs_loaded
12
end
13
14
+-- PERF: try wrapping this with a function to make it run asynchronously?
15
function M.update_diagnostics(opts, bufnr)
16
if opts.max_file_size and vim.api.nvim_buf_line_count(bufnr) > opts.max_file_size then return end
17
local ft = vim.fn.getbufvar(bufnr, "&filetype")
0 commit comments