diff options
author | Michael Davis | 2023-04-14 16:41:20 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-03-21 15:20:29 +0000 |
commit | fdcd461e65aebc8432e4fbfd51b10856fcb65605 (patch) | |
tree | 5efb57366aa5015c1cf9073beca2f9ea3f258fda /languages.toml | |
parent | 459eb9a4c12a4c650c551a4fe2746b3187fefadd (diff) |
Update tree-sitter-erlang and highlights
A few changes:
* 0-arity type specs like the following previously would not have the
expected 'variable.parameter' highlighting for the return type:
-spec foo() -> Value when Value :: term().
* Highlight module, type and function docs as documentation comments
and inject markdown into them.
* Replace `#match?` predicates with `#any-of?` where possible.
* Remove custom auto-pairs. Now that Erlang uses markdown for
documentation, the asciidoc-style backtick-singlequote pair is no
longer useful.
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/languages.toml b/languages.toml index 608ec8a0..3e4084bf 100644 --- a/languages.toml +++ b/languages.toml @@ -1711,17 +1711,9 @@ comment-token = "%%" indent = { tab-width = 4, unit = " " } language-servers = [ "erlang-ls" ] -[language.auto-pairs] -'(' = ')' -'{' = '}' -'[' = ']' -'"' = '"' -"'" = "'" -'`' = "'" - [[grammar]] name = "erlang" -source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "731e50555a51f0d8635992b0e60dc98cc47a58d7" } +source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "9d4b36a76d5519e3dbf1ec4f4b61bb1a293f584c" } [[language]] name = "kotlin" |