We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e44e5 commit de03fa5Copy full SHA for de03fa5
lua/nvim-autopairs/rules/basic.lua
@@ -44,8 +44,8 @@ local function setup(opt)
44
Rule("```", "```", { "markdown", "vimwiki", "rmarkdown", "rmd", "pandoc", "quarto", "typst" })
45
:with_pair(cond.not_before_char('`', 3)),
46
Rule("```.*$", "```", { "markdown", "vimwiki", "rmarkdown", "rmd", "pandoc", "quarto", "typst" }):only_cr():use_regex(true),
47
- Rule('"""', '"""', { "python", "elixir", "julia", "kotlin", "scala","sbt" }):with_pair(cond.not_before_char('"', 3)),
48
- Rule("'''", "'''", { "python" }):with_pair(cond.not_before_char("'", 3)),
+ Rule('"""', '"""', { "python", "elixir", "julia", "kotlin", "scala", "sbt", "toml" }):with_pair(cond.not_before_char('"', 3)),
+ Rule("'''", "'''", { "python", "toml" }):with_pair(cond.not_before_char("'", 3)),
49
quote("'", "'", { "-rust", "-nix" })
50
:with_pair(function(opts)
51
-- python literals string
0 commit comments