diff options
author | Abouzar Parvan <[email protected]> | 2021-08-08 13:26:33 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-08 13:26:33 +0430 |
commit | 6aab0ea8ac6948fb75dd1a68c0aa07e8ccf2b8ff (patch) | |
tree | e96d1e70f47fb4d119588b092e887a80b7635152 /lua/core/autopairs.lua | |
parent | 01f865e04100439fbb0c4e705a3332f7f71229b6 (diff) |
fix compe for latex
Diffstat (limited to 'lua/core/autopairs.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 |