From acf35997233657cd9e990d875d5ce2c884b9f72e Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 9 Aug 2022 10:50:18 -0500 Subject: [PATCH] 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. --- languages.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/languages.toml b/languages.toml index d125ae886..264f0a422 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" }