Organise completion plugin dependencies

This commit is contained in:
Kenneth Benzie 2024-04-12 18:37:11 +01:00
parent e5e2453efb
commit 4c8f6cbc8b

View File

@ -1,21 +1,22 @@
return { return {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
dependencies = { dependencies = {
-- Language server management plugins -- Language server management plugins
'williamboman/mason.nvim', 'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim', 'williamboman/mason-lspconfig.nvim',
-- Completion plugins -- Completion sources plugins
'hrsh7th/cmp-nvim-lsp', -- Source for built-in language server client 'hrsh7th/cmp-nvim-lsp', -- Source for built-in language server client
'saadparwaiz1/cmp_luasnip', -- Source for LuaSnip snippets 'saadparwaiz1/cmp_luasnip', -- Source for LuaSnip snippets
'hrsh7th/cmp-buffer', -- Source for buffer words 'hrsh7th/cmp-buffer', -- Source for buffer words
'hrsh7th/cmp-path', -- Source for filesystem paths 'hrsh7th/cmp-path', -- Source for filesystem paths
'kbenzie/cmp-git', -- Source for Git/GitHub/GitLab 'kbenzie/cmp-git', -- Source for Git/GitHub/GitLab
'hrsh7th/nvim-cmp', -- Completion engine combines and use the above 'hrsh7th/nvim-cmp', -- Completion engine combines and uses the above
-- TODO: https://github.com/b0o/SchemaStore.nvim -- Lua vim module support in lua language server
-- TODO: https://github.com/jmbuhr/otter.nvim 'folke/neodev.nvim',
-- Expose clangd extensions
'p00f/clangd_extensions.nvim',
-- LSP UI plugins -- LSP UI plugins
'aznhe21/actions-preview.nvim', 'aznhe21/actions-preview.nvim',
@ -23,14 +24,9 @@ return {
'nvim-tree/nvim-web-devicons', 'nvim-tree/nvim-web-devicons',
'ray-x/lsp_signature.nvim', 'ray-x/lsp_signature.nvim',
-- Lua vim module support in lua language server -- TODO: https://github.com/b0o/SchemaStore.nvim
'folke/neodev.nvim', -- TODO: https://github.com/jmbuhr/otter.nvim
-- Expose clangd extensions
'p00f/clangd_extensions.nvim',
-- TODO: https://github.com/nvimtools/none-ls.nvim -- TODO: https://github.com/nvimtools/none-ls.nvim
-- TODO: https://github.com/mfussenegger/nvim-dap -- TODO: https://github.com/mfussenegger/nvim-dap
-- TODO: https://github.com/rcarriga/nvim-dap-ui -- TODO: https://github.com/rcarriga/nvim-dap-ui
}, },