Skip to content

Commit

Permalink
fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Jul 21, 2023
1 parent 59c1082 commit c7edb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/guard/lint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local function do_lint(buf)
local linters = filetype[vim.bo[buf].filetype].linter
local fname = vim.fn.fnameescape(api.nvim_buf_get_name(buf))
local prev_lines = get_prev_lines(buf, 0, -1)
api.nvim_buf_clear_namespace(buf, ns, 0, -1)
vd.reset(ns, buf)

coroutine.resume(coroutine.create(function()
local results
Expand Down

0 comments on commit c7edb1c

Please sign in to comment.