aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davis2022-08-09 15:50:18 +0000
committerBlaž Hrastnik2022-08-31 08:46:34 +0000
commitacf35997233657cd9e990d875d5ce2c884b9f72e (patch)
tree978dfcb0e9204c9b610caba173d6c56335438676
parent00d88e540e66b6371428c8c3b7e906ba2cac02e1 (diff)
erlang: Use Edoc style auto-pairs
Specifically this changes backtic's right-hand-side pair character to single-quote which is the syntax for inline and block code in Edoc.
-rw-r--r--languages.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d125ae88..264f0a42 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1118,6 +1118,14 @@ comment-token = "%%"
indent = { tab-width = 4, unit = " " }
language-server = { command = "erlang_ls" }
+[language.auto-pairs]
+'(' = ')'
+'{' = '}'
+'[' = ']'
+'"' = '"'
+"'" = "'"
+'`' = "'"
+
[[grammar]]
name = "erlang"
source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "0e7d677d11a7379686c53c616825714ccb728059" }