summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-09-04 18:13:02 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-09-04 18:13:02 +0200
commit06e8a09dd8ee52cc2860213c45158df916d042ec (patch)
treeb0ba736797c88af5b20813ef2025e0fc185ee584
parent36a2d9925e9658672701e7840dc71dfe096487fe (diff)
nvim: remove apostrophe from autopair rules for texinfo and tex
-rw-r--r--nvim/nvim/lua/parens.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/nvim/nvim/lua/parens.lua b/nvim/nvim/lua/parens.lua
index e6dced9..c4d0955 100644
--- a/nvim/nvim/lua/parens.lua
+++ b/nvim/nvim/lua/parens.lua
@@ -224,5 +224,6 @@ autopairs.setup {
check_ts = true,
enable_check_bracket_line = false
}
-autopairs.get_rules("'")[1].not_filetypes = { "scheme", "lisp", "clojure", "markdown", "text" }
+autopairs.get_rules("'")[1].not_filetypes = { "scheme", "lisp", "clojure",
+ "markdown", "text", "tex", "texinfo" }
autopairs.get_rules("`")[1].not_filetypes = { "scheme", "lisp", "clojure" }