Skip to content

Commit

Permalink
Fix fontification for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wkirschbaum committed Nov 15, 2023
1 parent 11a455b commit 9450029
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions elixir-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,6 @@ This variable is obsolete. Use elixir-ts-sigil-name-face instead."
(call target: (identifier)
(arguments ((identifier)) @font-lock-variable-use-face)))))

:language 'elixir
:feature 'elixir-string
'((interpolation
"#{" @font-lock-escape-face
"}" @font-lock-escape-face)
(string (quoted_content) @font-lock-string-face)
(quoted_keyword (quoted_content) @font-lock-string-face)
(charlist (quoted_content) @font-lock-string-face)
["\"" "'" "\"\"\""] @font-lock-string-face)

:language 'elixir
:feature 'elixir-doc
`((unary_operator
Expand Down Expand Up @@ -463,6 +453,16 @@ This variable is obsolete. Use elixir-ts-sigil-name-face instead."
(:match ,elixir-ts--doc-keywords-re
@elixir-ts-comment-doc-identifier-face)))

:language 'elixir
:feature 'elixir-string
'((interpolation
"#{" @font-lock-escape-face
"}" @font-lock-escape-face)
(string (quoted_content) @font-lock-string-face)
(quoted_keyword (quoted_content) @font-lock-string-face)
(charlist (quoted_content) @font-lock-string-face)
["\"" "'" "\"\"\""] @font-lock-string-face)

:language 'elixir
:feature 'elixir-sigil
`((sigil
Expand Down

0 comments on commit 9450029

Please sign in to comment.