Skip to content

Commit

Permalink
Merge pull request #41 from kiriki/paired_brackets
Browse files Browse the repository at this point in the history
fix #25 and #26 (from Language Configuration Guide)
  • Loading branch information
grigoryvp authored Jul 24, 2022
2 parents 24304ac + 7b4bdee commit 6d1393c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions language-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"comments": {
"lineComment": "|",
"blockComment": []
},
"brackets": [],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "`"]
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "`"],
["|", "|"]
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"id": "xi",
"extensions": [
".xi"
]
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
Expand Down

0 comments on commit 6d1393c

Please sign in to comment.