Skip to content

Commit c301e33

Browse files
committed
chore: update comment
1 parent c2f4e01 commit c301e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/guard/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ end
221221
---@return boolean
222222
function M.check_should_attach(buf)
223223
local bo = vim.bo[buf]
224-
-- check if it's already attached or has no underlying file
224+
-- check if it's not attached already and has an underlying file
225225
return #api.nvim_get_autocmds({
226226
group = M.group,
227227
event = 'BufWritePre',

0 commit comments

Comments
 (0)