diff --git a/nvim/.config/nvim/lua/plug/_cmp.lua b/nvim/.config/nvim/lua/plug/_cmp.lua index 086874a..a5e7393 100644 --- a/nvim/.config/nvim/lua/plug/_cmp.lua +++ b/nvim/.config/nvim/lua/plug/_cmp.lua @@ -7,7 +7,7 @@ lsp.nvim_workspace() lsp.setup_nvim_cmp({ sources = { { name = 'path' }, { name = 'nvim_lsp', keyword_length = 2 }, - { name = 'buffer', keyword_length = 3 }, + { name = 'pandoc_references' }, { name = 'buffer', keyword_length = 3 }, { name = 'luasnip', keyword_length = 2 }, { name = 'tmux' }, { name = 'otter' }, { name = 'latex_symbols' }, { name = 'vCard' }, { name = 'nvim_lua' }, { name = 'buffer' }, { name = 'spell' } diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index f557fba..fc2f9ef 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -164,11 +164,8 @@ return { "rafamadriz/friendly-snippets", "andersevenrud/cmp-tmux", "hrsh7th/cmp-nvim-lsp", "kdheepak/cmp-latex-symbols", "ray-x/cmp-treesitter", "f3fora/cmp-spell", "hrsh7th/cmp-cmdline", - "cbarrete/completion-vcard", { - 'aspeddro/cmp-pandoc.nvim', - dependencies = { 'nvim-lua/plenary.nvim', 'jbyuki/nabla.nvim' }, - event = "InsertEnter" - }, { "lukas-reineke/lsp-format.nvim", config = true } + "cbarrete/completion-vcard", "jc-doyle/cmp-pandoc-references", + { "lukas-reineke/lsp-format.nvim", config = true } }, config = function() require('plug._cmp') end }, { 'simrat39/symbols-outline.nvim', config = true, event = "VeryLazy" }, -- vista-like outline view for code @@ -177,7 +174,7 @@ return { 'ray-x/navigator.lua', config = function() require('plug._lsp') end, event = "VeryLazy" -}, -- and completion +} -- and completion -- { -- REQUIRES custom `yay -S --asdeps lua51-lyaml invocation` AND is suuper slow -- "jghauser/papis.nvim", -- after = { "telescope.nvim", "nvim-cmp" },