mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
fix compe for latex
This commit is contained in:
parent
01f865e041
commit
6aab0ea8ac
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ MUtils.completion_confirm = function()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if package.loaded["compe"] then
|
if package.loaded["compe"] and vim.bo.filetype ~= "tex" then
|
||||||
require("nvim-autopairs.completion.compe").setup {
|
require("nvim-autopairs.completion.compe").setup {
|
||||||
map_cr = true, -- map <CR> on insert mode
|
map_cr = true, -- map <CR> on insert mode
|
||||||
map_complete = true, -- it will auto insert `(` after select function or method item
|
map_complete = true, -- it will auto insert `(` after select function or method item
|
||||||
|
|
Loading…
Reference in a new issue