diff options
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/plugins/cmp.lua | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/cmp.lua b/nvim/.config/nvim/lua/tobyvin/plugins/cmp.lua index e7644d4..bf8dfaf 100644 --- a/nvim/.config/nvim/lua/tobyvin/plugins/cmp.lua +++ b/nvim/.config/nvim/lua/tobyvin/plugins/cmp.lua @@ -76,26 +76,10 @@ function M.config() }, }) - cmp.setup.filetype({ - "tex", - "bib", - "sh", - "zsh", - "xml", - "markdown", - }, { - sources = { - { name = "nvim_lsp", group_index = 1 }, - { name = "nvim_lsp_signature_help", group_index = 1 }, - { name = "path", group_index = 1 }, - { name = "dap", group_index = 1 }, - { name = "buffer", keyword_length = 3, group_index = 2 }, - }, - }) - - cmp.setup.filetype({ "tex", "bib" }, { + cmp.setup.filetype({ "tex", "bib", "markdown" }, { sources = { { name = "latex_symbols" }, + { name = "buffer", keyword_length = 3 }, }, }) |