Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree-sitter API's ts_node_descendant_for_point_range does not work when cursor is at the end of node #393

Open
Sarrus1 opened this issue May 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working nice to have Nice to have features/fixes rust Pull requests that update Rust code sourcepawn-lsp Issue affects the LSP tree-sitter Issue related to the tree-sitter grammar

Comments

@Sarrus1
Copy link
Owner

Sarrus1 commented May 18, 2024

void main|() {
}

will find the (, not main.

@Sarrus1 Sarrus1 added bug Something isn't working sourcepawn-lsp Issue affects the LSP rust Pull requests that update Rust code tree-sitter Issue related to the tree-sitter grammar nice to have Nice to have features/fixes labels May 18, 2024
@Sarrus1 Sarrus1 self-assigned this May 18, 2024
@Sarrus1 Sarrus1 mentioned this issue May 18, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nice to have Nice to have features/fixes rust Pull requests that update Rust code sourcepawn-lsp Issue affects the LSP tree-sitter Issue related to the tree-sitter grammar
Projects
None yet
Development

No branches or pull requests

1 participant