Skip to content

Commit 8ddc50c

Browse files
authored
Update README.md
1 parent c7004fc commit 8ddc50c

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

README.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,32 +27,14 @@ wants to work code of this complexity.
2727

2828
*Essentially all major development of `typescript-mode` has come to a halt.*
2929

30-
## Seeing the forest for trees
30+
## Good news though!
3131

32-
Lots of Emacs major-modes are facing the same problem. I'm sure there's similar issues for other editors too.
33-
34-
This means lots of developers are working on solving this problem once and for all, and what they've decided on
35-
is relying on a standardized set of external parsers using the [tree-sitter](https://tree-sitter.github.io/tree-sitter/) library.
36-
37-
New major modes are being developed as we speak to support TypeScript (and other languages) within Emacs based on Emacs' upcoming
38-
native tree-sitter support.
39-
40-
The code will be much faster, it will be simpler to work with and everyone should be happy. Well almost. Since tree-sitter support
41-
relies on a new major feature being added to core Emacs, it also means that these new major modes won't be backward compatible with
42-
older Emacs-versions.
43-
44-
For that reason we are not *replacing* this major mode with the new and improved one, but keeping it around to make sure older Emacs-versions
45-
does at least have an option for working with Typescript, even though it may not be optimal or track recent changes to the TypeScript-language.
46-
47-
But once new Emacs ships with tree-sitter support, you are adviced to upgrade to the newer modes for better TypeScript-support, rather
48-
than keeping this old version around.
49-
50-
## Good news!
51-
Emacs 29 will ship with tree-sitter support, and it will actually have in-tree
32+
Emacs 29 will ship with support for a parser-library called tree-sitter, and will actually have in-tree
5233
support for TypeScript! So now you can just use the provided `typescript-ts-mode` and get
53-
the fresh tree-sitter powered functionalities for free. Yes, that means both
54-
tsx and regular types will actually work. Development will continue in emacs
55-
core, rather than this repo. We hope you'll like the new experience.
34+
better support for TypeScript than `typescript.el` ever provided. This new mode also supports TSX.
35+
36+
Development of TypeScript-support will from now on continue in Emacs core, rather than this repo.
37+
We hope you'll like the new experience.
5638

5739
# Installation
5840

0 commit comments

Comments
 (0)