From 06e8a09dd8ee52cc2860213c45158df916d042ec Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 4 Sep 2024 18:13:02 +0200 Subject: nvim: remove apostrophe from autopair rules for texinfo and tex --- nvim/nvim/lua/parens.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" } -- cgit v1.2.3