Add missing fontification matches for elixir-ts-mode
* lisp/progmodes/elixir-ts-mode.el (elixir-ts--font-lock-settings): Add matches for missing tokens and fix atom type face. (Bug#75156)
This commit is contained in:
parent
5bafb11b40
commit
624322d5f6
1 changed files with 6 additions and 1 deletions
|
@ -490,7 +490,8 @@
|
|||
|
||||
:language 'elixir
|
||||
:feature 'elixir-data-type
|
||||
'([(atom) (alias)] @font-lock-type-face
|
||||
'((alias) @font-lock-type-face
|
||||
(atom) @elixir-ts-atom
|
||||
(keywords (pair key: (keyword) @elixir-ts-keyword-key))
|
||||
[(keyword) (quoted_keyword)] @elixir-ts-atom
|
||||
[(boolean) (nil)] @elixir-ts-atom
|
||||
|
@ -555,6 +556,10 @@
|
|||
(unary_operator operand: (identifier) @font-lock-variable-use-face)
|
||||
(interpolation (identifier) @font-lock-variable-use-face)
|
||||
(do_block (identifier) @font-lock-variable-use-face)
|
||||
(rescue_block (identifier) @font-lock-variable-use-face)
|
||||
(catch_block (identifier) @font-lock-variable-use-face)
|
||||
(else_block (identifier) @font-lock-variable-use-face)
|
||||
(after_block (identifier) @font-lock-variable-use-face)
|
||||
(access_call target: (identifier) @font-lock-variable-use-face)
|
||||
(access_call "[" key: (identifier) @font-lock-variable-use-face "]"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue