mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
nit(javascript): use issue shorthand
This commit is contained in:
@ -134,8 +134,7 @@
|
|||||||
(pushnew! evil-textobj-tree-sitter-major-mode-language-alist '(typescript-tsx-mode . "tsx"))
|
(pushnew! evil-textobj-tree-sitter-major-mode-language-alist '(typescript-tsx-mode . "tsx"))
|
||||||
|
|
||||||
;; HACK: the tsx grammer doesn't work with the hightlighting provided by
|
;; HACK: the tsx grammer doesn't work with the hightlighting provided by
|
||||||
;; font-lock-keywords.
|
;; font-lock-keywords. See emacs-tree-sitter/tree-sitter-langs#23
|
||||||
;; https://github.com/emacs-tree-sitter/tree-sitter-langs/issues/23
|
|
||||||
(setq-hook! 'typescript-tsx-mode-hook
|
(setq-hook! 'typescript-tsx-mode-hook
|
||||||
tree-sitter-hl-use-font-lock-keywords nil))))
|
tree-sitter-hl-use-font-lock-keywords nil))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user