Skip to content

Commit ebee603

Browse files
committed
fix: remove buftype restriction
Fixes #555
1 parent fa78e2b commit ebee603

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/treesitter-context.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ local function cannot_open(winid)
8181
local bufnr = api.nvim_win_get_buf(winid)
8282
return not attached[bufnr]
8383
or vim.bo[bufnr].filetype == ''
84-
or vim.bo[bufnr].buftype ~= ''
8584
or vim.wo[winid].previewwindow
8685
or api.nvim_win_get_height(winid) < config.min_window_height
8786
end

0 commit comments

Comments
 (0)