diff options
author | petrak@ | 2024-01-04 20:49:50 +0000 |
---|---|---|
committer | GitHub | 2024-01-04 20:49:50 +0000 |
commit | 7e389b67c24dfe4466112c988b240c807e7e2414 (patch) | |
tree | 0b4c4931ece42c70407b3e6a5377d2edb91a29aa | |
parent | da4afaf3daf6bc9355953c404d1766321ed9fd99 (diff) |
Add auto-pairs to scheme language support (#9232)
Currently, typing a single quote in a `.scm` file "helpfully" auto-
completes a closing quote. This is because there is no auto-pairs
section in the languages.toml. This commit adds that.
-rw-r--r-- | languages.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 7b4b5b8b..a013dab8 100644 --- a/languages.toml +++ b/languages.toml @@ -1914,6 +1914,12 @@ shebangs = ["scheme", "guile", "chicken"] comment-token = ";" indent = { tab-width = 2, unit = " " } +[language.auto-pairs] +'(' = ')' +'{' = '}' +'[' = ']' +'"' = '"' + [[grammar]] name = "scheme" source = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af3af6c9356b936f8a515a1e449c32e804c2b1a8" } |