]> git.eshelyaron.com Git - emacs.git/commit
Make compat check also check typescript
authorTheodor Thornhill <theo@thornhill.no>
Mon, 24 Jul 2023 14:17:34 +0000 (16:17 +0200)
committerTheodor Thornhill <theo@thornhill.no>
Mon, 24 Jul 2023 14:22:07 +0000 (16:22 +0200)
commit4e977136d3148c3baa0e03568c7a2c7dc28eea65
tree55fd9302c2d976985f583ae2ba1c8cc2a3484d05
parent906ecf442c43da98e6b8c7488f549691901690e9
Make compat check also check typescript

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-bb1f97b):
Add argument so that we run the 'treesit-query-capture' when the
language is 'typescript', not only 'tsx'.

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings): Use supplied argument.
lisp/progmodes/typescript-ts-mode.el