diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:55:22 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:55:22 +0300 |
| commit | dbbbb97b715f022251e2d1826967222b5865a949 (patch) | |
| tree | 92fe1af61b749273c337d786ac55d79d35f6941a /.config/nvim/lua/custom/plugins/completion.lua | |
| parent | 5bc29f77a48b8e46513c982362a55884e7f65238 (diff) | |
Neovim: refactored keymaps to , completions now have good keybindings and did some slight tweaks
Diffstat (limited to '.config/nvim/lua/custom/plugins/completion.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/completion.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/completion.lua b/.config/nvim/lua/custom/plugins/completion.lua new file mode 100644 index 0000000..5e0f2ef --- /dev/null +++ b/.config/nvim/lua/custom/plugins/completion.lua @@ -0,0 +1,16 @@ +return { + 'hrsh7th/nvim-cmp', + lazy = false, + priority = 100, + dependencies = { + -- 'onsails/lspkind.nvim', + -- 'hrsh7th/cmp-path', + -- 'hrsh7th/cmp-buffer', + 'hrsh7th/cmp-nvim-lsp', -- lsp source for nvim-cmp + 'saadparwaiz1/cmp_luasnip', -- snippets source for nvim-cmp + { 'L3MON4D3/LuaSnip', build = 'make install_jsregexp' }, -- snippets plugin + }, + config = function() + require('custom.completion') + end, +} |
