I'm new in the emacs world and after practicing a bit with doomemacs, I'm trying to configure vanilla emacs by myself with my own init.el file.
I have installer tree-sitter for syntax highlighting and works fine for JS file but not for TS files. My configuration for tree-sitter is the next:
(use-package tree-sitter
:ensure t
:config
(global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
(use-package tree-sitter-langs
:ensure t
:after tree-sitter)
Anyone has the same problem? or I'm missing something in my configuration? Thanks!