I find the default syntax highlighting for JavaScript and TypeScript to be lacking slightly.
For example, s there a package equivalent to vim-polyglot for Emacs? I have tried Emacs tree-sitter but it seems to overwrite or theme colors.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI find the default syntax highlighting for JavaScript and TypeScript to be lacking slightly.
For example, s there a package equivalent to vim-polyglot for Emacs? I have tried Emacs tree-sitter but it seems to overwrite or theme colors.
js2-mode
has been my recommendation for a while, though I don’t believe the original author is still maintaining it. There is also a js3-mode
which I haven’t tried yet; I believe it has some improvements over js2-mode
.