From 2578f1b480bf20a49adb9999ea29adbaca0d00e1 Mon Sep 17 00:00:00 2001 From: Axlefublr <101342105+Axlefublr@users.noreply.github.com> Date: Fri, 6 Jun 2025 01:24:35 +0800 Subject: [PATCH] add more quote types to markdown autopairs --- languages.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/languages.toml b/languages.toml index df84837d1..8f8f7b988 100644 --- a/languages.toml +++ b/languages.toml @@ -1746,6 +1746,17 @@ language-servers = [ "marksman", "markdown-oxide" ] indent = { tab-width = 2, unit = " " } block-comment-tokens = { start = "" } +[language.auto-pairs] +'(' = ')' +'{' = '}' +'[' = ']' +'"' = '"' +"'" = "'" +'`' = '`' +'‘' = '’' +'«' = '»' +'“' = '”' + [[grammar]] name = "markdown" source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown" }