1
1
# Changelog
2
2
3
+ ## [ v2.0.1] – 2021-05-02
4
+
5
+ - Elixir: fixed a bug affecting, for example, multi-line ` with ` statements.
6
+ - Elixir: fixed captures such as ` &MyApp.User |> f(&1) ` .
7
+ - Elixir: fixed matching iex continuation lines (` ...> ` ) in markdown comments.
8
+ - SQL: highlight ` BY ` as a standalone keyword.
9
+
3
10
## [ v2.0.0] – 2021-04-27
4
11
5
12
The Elixir syntax definition has been reworked amounting to a complete rewrite
@@ -9,18 +16,18 @@ bringing among other things the following features and improvements:
9
16
- Parameter highlighting (also in ` fn ` , ` case ` , ` with ` , ` for ` , ` try ` and ` receive ` ).
10
17
- Function call highlighting (e.g. ` inspect error ` , ` Enum.map(...) ` ).
11
18
- Highlight ` as: A ` argument in alias/require statements.
12
- - Better matching for def/ defmodule/etc. statements.
19
+ - Better matching for ` def ` / ` defmodule ` /etc. statements.
13
20
- Highlight quoted member variables/functions (e.g. ` :erlang."=/="(1, 2) ` ).
14
21
- Fixes to strings, numerics, escapes, captures etc.
15
22
- Newest Elixir operators and functions.
16
23
- Highlight LiveView, YAML and JSON strings.
17
- - Syntax definition for EEx in Elixir ( e.g. ` defmodule <%= @module %>.View do end ` )
24
+ - Syntax definition for EEx in Elixir, e.g.: ` defmodule <%= @module %>.View do end `
18
25
- Some keywords are variables depending on the context (e.g. ` def = 0 ` ).
19
26
- Markdown highlighting within ` @doc ` comments and also Elixir code examples.
20
- - Highlight SQL (e.g. jsonb operators) inside the Ecto ` fragment() ` function ( also for general usage: ` sql("INSERT INTO ...") ` ) .
27
+ - Highlight SQL (e.g. jsonb operators) inside the Ecto ` fragment() ` function but also inside ` sql("INSERT INTO ...") ` .
21
28
- Git merge conflicts are highlighted.
22
29
- Added Monokai and Mariana theme color scheme rules.
23
- - Correct scope for symbol names for the "Go to Definition" command.
30
+ - Correct scope for symbol names for the "Goto Definition" command.
24
31
- Speed optimizations: rules and regexps are ordered in such a way
25
32
that they match the most likely occurring tokens first.
26
33
- Snippets for ` |> IO.inspect(label: "...") ` , ` |> then() ` and ` |> tap() ` .
0 commit comments