diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/core/autopairs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/autopairs.lua b/lua/core/autopairs.lua index f0111db6..751e47df 100644 --- a/lua/core/autopairs.lua +++ b/lua/core/autopairs.lua @@ -24,7 +24,7 @@ MUtils.completion_confirm = function() end end -if package.loaded["compe"] then +if package.loaded["compe"] and vim.bo.filetype ~= "tex" then require("nvim-autopairs.completion.compe").setup { map_cr = true, -- map <CR> on insert mode map_complete = true, -- it will auto insert `(` after select function or method item |