diff options
| author | Nicholas Hall <root@ngha.ro> | 2026-04-29 20:42:44 -0500 |
|---|---|---|
| committer | Nicholas Hall <root@ngha.ro> | 2026-04-29 20:42:44 -0500 |
| commit | b834788f7dc110e4a4f79b0356f1293d6d129b13 (patch) | |
| tree | bef6e26d08963096e192292c8d597d7f3301e2ba /after/plugin/nvim-cmp.lua | |
| parent | 7041a218d5cdcb6131697078e4422deb457c6cf0 (diff) | |
| download | nvim-b834788f7dc110e4a4f79b0356f1293d6d129b13.tar.xz nvim-b834788f7dc110e4a4f79b0356f1293d6d129b13.zip | |
Omarchy lazyvimlazyvim
Diffstat (limited to 'after/plugin/nvim-cmp.lua')
| -rw-r--r-- | after/plugin/nvim-cmp.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/after/plugin/nvim-cmp.lua b/after/plugin/nvim-cmp.lua deleted file mode 100644 index 6548b71..0000000 --- a/after/plugin/nvim-cmp.lua +++ /dev/null @@ -1,21 +0,0 @@ -local cmp = require('cmp') --- using lsp-zero -local cmp_action = require('lsp-zero').cmp_action() - -cmp.setup({ - mapping = cmp.mapping.preset.insert({ - -- `Enter` key to confirm completion - ['<CR>'] = cmp.mapping.confirm({select = false}), - - -- Ctrl+Space to trigger completion menu - ['<C-Space>'] = cmp.mapping.complete(), - - -- Navigate between snippet placeholder - ['<C-f>'] = cmp_action.luasnip_jump_forward(), - ['<C-b>'] = cmp_action.luasnip_jump_backward(), - - -- Scroll up and down in the completion documentation - ['<C-u>'] = cmp.mapping.scroll_docs(-4), - ['<C-d>'] = cmp.mapping.scroll_docs(4), - }) -}) |
