Skip to content

Commit 0e004a2

Browse files
committed
refactor: remove comment
1 parent b9300fb commit 0e004a2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lua/copilot/client.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ function M.buf_attach(force)
103103
local bufnr = vim.api.nvim_get_current_buf()
104104
local bufname = vim.api.nvim_buf_get_name(bufnr)
105105

106-
-- if force or (M.should_attach and M.should_attach(bufnr, bufname)) then
107-
-- do stuff
108-
-- end
109-
110106
if not (force or (M.should_attach(bufnr, bufname) and util.should_attach())) then
111107
logger.debug("not attaching to buffer based on force and should_attach criteria")
112108
return

0 commit comments

Comments
 (0)