diff options
author | Michael Davis | 2022-10-22 17:51:20 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-11-24 02:07:05 +0000 |
commit | 452f7d071ceb57aad9da36473e6d2a0f0bedb462 (patch) | |
tree | 5be13bfe1f8a8eaf220843c55045bc486aa4762c /runtime/queries/edoc/highlights.scm | |
parent | a3f321a531554b51160f3fe7e6da1c269030f3b6 (diff) |
Improve Edoc highlighting within Erlang
This highlights edoc within Erlang comments. The trick was to have
the Erlang grammar consume newlines and then give them to EDoc in the
injection to use so that line-wise elements could be parsed accurately.
Diffstat (limited to 'runtime/queries/edoc/highlights.scm')
-rw-r--r-- | runtime/queries/edoc/highlights.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/edoc/highlights.scm b/runtime/queries/edoc/highlights.scm index 4267cb9e..5bab7992 100644 --- a/runtime/queries/edoc/highlights.scm +++ b/runtime/queries/edoc/highlights.scm @@ -48,3 +48,5 @@ (language_identifier) (quote_content) ] @markup.raw.block + +(parameter) @variable.parameter |