11# Changelog
22
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+
310## [ v2.0.0] – 2021-04-27
411
512The Elixir syntax definition has been reworked amounting to a complete rewrite
@@ -9,18 +16,18 @@ bringing among other things the following features and improvements:
916- Parameter highlighting (also in ` fn ` , ` case ` , ` with ` , ` for ` , ` try ` and ` receive ` ).
1017- Function call highlighting (e.g. ` inspect error ` , ` Enum.map(...) ` ).
1118- Highlight ` as: A ` argument in alias/require statements.
12- - Better matching for def/ defmodule/etc. statements.
19+ - Better matching for ` def ` / ` defmodule ` /etc. statements.
1320- Highlight quoted member variables/functions (e.g. ` :erlang."=/="(1, 2) ` ).
1421- Fixes to strings, numerics, escapes, captures etc.
1522- Newest Elixir operators and functions.
1623- 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 `
1825- Some keywords are variables depending on the context (e.g. ` def = 0 ` ).
1926- 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 ...") ` .
2128- Git merge conflicts are highlighted.
2229- 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.
2431- Speed optimizations: rules and regexps are ordered in such a way
2532 that they match the most likely occurring tokens first.
2633- Snippets for ` |> IO.inspect(label: "...") ` , ` |> then() ` and ` |> tap() ` .
0 commit comments