Skip to content

Commit 5c33926

Browse files
sudo-teeCopilot
andauthored
fix: comment
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent ad44142 commit 5c33926

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/minimal/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ vim.opt.termguicolors = true
3434

3535
require('opencode')
3636

37-
-- Safely stub out treesitter start during tests. Accessing `vim.treesitter`
37+
-- Safely stub out treesitter during tests, using pcall(require, ...) so tests pass even if vim.treesitter is unavailable.
3838
local ok, ts = pcall(require, 'vim.treesitter')
3939
if ok and ts and ts.start then
4040
ts.start = function() end

0 commit comments

Comments
 (0)