Skip to content

Conversation

@kapral18
Copy link
Contributor

No description provided.

lua/dim.lua Outdated
local highlighter = require("vim.treesitter.highlighter")
local ts_utils = require("nvim-treesitter.ts_utils")
local ts = vim.treesitter
local _, ts_utils = pcall(require, "nvim-treesitter.ts_utils")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't there be a check to fail when nvim-treesitter.ts_utils is not found?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch also my vim node range function was incorrect. Fixed in new version. Please check 2554533

Copy link
Owner

@0oAstro 0oAstro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@0oAstro 0oAstro merged commit a3a0dce into 0oAstro:main Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants