Skip to content

Commit 158377d

Browse files
antoinemadeclewis6991
authored andcommitted
fix: on_attach() return false to disable attaching
1 parent a2a3349 commit 158377d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lua/treesitter-context.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,6 @@ local function autocmd(event, callback, opts)
134134
end
135135

136136
function M.enable()
137-
local cbuf = api.nvim_get_current_buf()
138-
139-
attached[cbuf] = true
140-
141137
local update_events = {
142138
'WinScrolled',
143139
'BufEnter',

0 commit comments

Comments
 (0)