Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
enhance auto-closing pairs and auto-surrounding pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
timdmackey committed Mar 8, 2023
1 parent d80a0bc commit c19c252
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/language-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,27 @@ module.exports = {
],
autoClosingPairs: [
['{', '}'],
['{{', '}}'],
['{{ ', ' }}'],
['{{-', '-}}'],
['{{- ', ' -}}'],
['{%', '%}'],
['{% ', ' %}'],
['{%-', '-%}'],
['{%- ', ' -%}'],
['[', ']'],
['(', ')'],
['"', '"'],
["'", "'"],
['<', '>'],
['comment %} ', ' '],
['comment -%} ', ' '],
['comment%} ', ' '],
['comment-%} ', ' '],
],
autoCloseBefore: '%-:.,=}])>\'"` \n\t',
surroundingPairs: [
[' ', ' '],
['%', '%'],
['-', '-'],
['<', '>'],
['{', '}'],
Expand Down

0 comments on commit c19c252

Please sign in to comment.