From 4c8f6cbc8b7e0c2bc148f4449dc56ee258484dcb Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 12 Apr 2024 18:37:11 +0100 Subject: [PATCH] Organise completion plugin dependencies --- lua/plugins/completions.lua | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 4a819a3..db62453 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -1,21 +1,22 @@ return { 'neovim/nvim-lspconfig', - dependencies = { -- Language server management plugins 'williamboman/mason.nvim', 'williamboman/mason-lspconfig.nvim', - -- Completion plugins + -- Completion sources plugins 'hrsh7th/cmp-nvim-lsp', -- Source for built-in language server client 'saadparwaiz1/cmp_luasnip', -- Source for LuaSnip snippets 'hrsh7th/cmp-buffer', -- Source for buffer words 'hrsh7th/cmp-path', -- Source for filesystem paths '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 - -- TODO: https://github.com/jmbuhr/otter.nvim + -- Lua vim module support in lua language server + 'folke/neodev.nvim', + -- Expose clangd extensions + 'p00f/clangd_extensions.nvim', -- LSP UI plugins 'aznhe21/actions-preview.nvim', @@ -23,14 +24,9 @@ return { 'nvim-tree/nvim-web-devicons', 'ray-x/lsp_signature.nvim', - -- Lua vim module support in lua language server - 'folke/neodev.nvim', - - -- Expose clangd extensions - 'p00f/clangd_extensions.nvim', - + -- TODO: https://github.com/b0o/SchemaStore.nvim + -- TODO: https://github.com/jmbuhr/otter.nvim -- TODO: https://github.com/nvimtools/none-ls.nvim - -- TODO: https://github.com/mfussenegger/nvim-dap -- TODO: https://github.com/rcarriga/nvim-dap-ui },