From d8a4b93e80a8f1bd8448da288df24c4030740637 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 9 Sep 2022 06:50:11 +0200 Subject: [PATCH] nvim: add doxygen and orgmode completion --- .config/nvim/lua/my/completion.lua | 4 +++- .config/nvim/lua/my/plugins.lua | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/my/completion.lua b/.config/nvim/lua/my/completion.lua index 84afdf2..05090c9 100644 --- a/.config/nvim/lua/my/completion.lua +++ b/.config/nvim/lua/my/completion.lua @@ -46,9 +46,11 @@ if cmp and luasnip then { name = 'nvim_lua' }, { name = 'dictionary' }, { name = 'zsh' }, + { name = 'doxygen' }, + { name = 'orgmode' }, }, { { name = 'buffer' }, - { name = 'spell' } + { name = 'spell' }, }) }) diff --git a/.config/nvim/lua/my/plugins.lua b/.config/nvim/lua/my/plugins.lua index c9166bb..842f2ae 100644 --- a/.config/nvim/lua/my/plugins.lua +++ b/.config/nvim/lua/my/plugins.lua @@ -64,7 +64,14 @@ require('packer').startup({ function(use) 'https://github.com/uga-rosa/cmp-dictionary', 'https://github.com/f3fora/cmp-spell', 'https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol', - 'https://github.com/tamago324/cmp-zsh' + 'https://github.com/tamago324/cmp-zsh', + { + 'https://github.com/paopaol/cmp-doxygen', + requires = { + 'https://github.com/nvim-treesitter/nvim-treesitter', + 'https://github.com/nvim-treesitter/nvim-treesitter-textobjects' + } + } } }