mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-07 12:49:38 +00:00
Improve fontification for import-statements in typescript-ts-mode
(bug#60689) * lisp/progmodes/typescript-ts-mode.el: (typescript-ts-mode--font-lock-settings): Add rules to highlight the actual imports in import-statements.
This commit is contained in:
parent
28dd602138
commit
e385c099b8
1 changed files with 4 additions and 1 deletions
|
@ -197,7 +197,10 @@ Argument LANGUAGE is either `typescript' or `tsx'."
|
|||
value: (array (number) (function)))
|
||||
|
||||
(catch_clause
|
||||
parameter: (identifier) @font-lock-variable-name-face))
|
||||
parameter: (identifier) @font-lock-variable-name-face)
|
||||
|
||||
(import_clause (identifier) @font-lock-variable-name-face)
|
||||
(import_clause (named_imports (import_specifier (identifier)) @font-lock-variable-name-face)))
|
||||
|
||||
:language language
|
||||
:override t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue