Comments (5)
I don't think this belongs here, there's no parse errors and we're not going to debug an issue inside emacs. File this with the appropriate emacs repository responsible for tree-sitter integration.
from tree-sitter-typescript.
@cowboyd and anyone else finding this later - this is confirmed to be an Emacs bug, and it was fixed in Emacs 29.2, which is already out. I just updated to 29.2 and confirmed the fix worked :)
https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-10/msg01335.html
from tree-sitter-typescript.
I also ran into this today, and can confirm pinning to v0.20.3
fixed it
from tree-sitter-typescript.
@ajyoon I am still experiencing this in emacs 29.2
Apart from re-compiling tree-sitter-typescript and upgrading to emacs 29.2, was there anything else you had to do?
from tree-sitter-typescript.
I also removed the tree-sitter-typescript version pin from my .emacs, maybe double check that? But otherwise no, that's all I did and it works for me now.
from tree-sitter-typescript.
Related Issues (20)
- Installing tree-sitter-typescript as a dependency will not include tree-sitter-javascript referenced in the package.json
- Consider alias for interface declaration body?
- "public declare" class field definition fails to parse
- building shared libraries for c
- Parsing error on ANSI escape codes
- bug: `spell` not working within TSX/JSX HOT 1
- bug: typescript syntax highlighting break when importing with the 'type' keyword HOT 2
- bug: Ampersand breaks className string on tsx HOT 9
- bug: Inconsistent results between WASM and local parsing
- bug: parser stuck in infinite loop with multiple open clauses
- bug: wrong `await_expression` node when `call_expression` has a `type_arguments`
- bug: highlight broken with decorators HOT 1
- bug: highlight broken in some specific scenario
- bug: breaks highlighting when used & in tsx attribute
- feature: release a new tree-sitter 0.21.0 compatible release
- bug: it will be stuck bug: vue composition mode HOT 1
- bug: tree-sitter-typescript not working with my tree-sitter library in javascript HOT 1
- bug: `statement` node is not selected in TSPlayground HOT 3
- bug: incorrect parsing of type definition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tree-sitter-typescript.