From 190e23c17a6f4d85f7b2030c57b2b81b5f73be6f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 20 Aug 2024 09:28:42 +0200 Subject: nvim: fix cmp sources --- .config/nvim/lua/plugins/cmp.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index 81cd6cd..2cd540c 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua @@ -3,11 +3,12 @@ return { "hrsh7th/nvim-cmp", dependencies = { "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-nvim-lsp-signature-help", "hrsh7th/cmp-nvim-lua", "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-omni", - "hrsh7th/cmp-nvim-lsp-signature-help", + "micangl/cmp-vimtex", "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip", }, @@ -119,10 +120,12 @@ return { }, sources = { { name = "nvim_lsp" }, - { name = "nvim_lsp_signature_help" }, - { name = "luasnip" }, + { name = "nvim_lua" }, { name = "buffer" }, { name = "path" }, + { name = "vimtex" }, + { name = "nvim_lsp_signature_help" }, + { name = "luasnip" }, }, }) -- cgit v1.2.3-70-g09d2