Skip to content

Commit 2578f1b

Browse files
committed
add more quote types to markdown autopairs
1 parent 1315b7e commit 2578f1b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

languages.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,6 +1746,17 @@ language-servers = [ "marksman", "markdown-oxide" ]
17461746
indent = { tab-width = 2, unit = " " }
17471747
block-comment-tokens = { start = "<!--", end = "-->" }
17481748

1749+
[language.auto-pairs]
1750+
'(' = ')'
1751+
'{' = '}'
1752+
'[' = ']'
1753+
'"' = '"'
1754+
"'" = "'"
1755+
'`' = '`'
1756+
'‘' = ''
1757+
'«' = '»'
1758+
'“' = ''
1759+
17491760
[[grammar]]
17501761
name = "markdown"
17511762
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown" }

0 commit comments

Comments
 (0)