diff options
| author | Robert Günzler <r@gnzler.io> | 2022-10-12 17:07:17 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-10-12 17:08:34 +0200 |
| commit | f039c4b71548eaf233d3fac8cde3953d98777e54 (patch) | |
| tree | 2ee2b79672f9411595ad861fb08b4483cf4997ca | |
| parent | 96bce39ddb11c5d17cbe33d2f65dd231287df028 (diff) | |
vim: disable buffer word completion
| -rw-r--r-- | .vim/lua/plugins.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 768f051..c2a471d 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -457,7 +457,7 @@ require('packer').startup({function() use {'hrsh7th/nvim-cmp', -- {{{ requires = { - 'hrsh7th/cmp-buffer', + -- 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-path', 'hrsh7th/cmp-nvim-lua', @@ -482,7 +482,7 @@ require('packer').startup({function() border = _G.floating_win_border, }, }, - mapping = { + mapping = { -- {{{2 ['<cr>'] = cmp.mapping(function(fallback) if cmp.visible() then cmp.confirm({ select = true }) @@ -586,7 +586,7 @@ require('packer').startup({function() end, { 'i', 's'}), ['<s-pagedown>'] = cmp.mapping.scroll_docs(-4), ['<s-pageup>'] = cmp.mapping.scroll_docs(4), - }, + }, -- 2}}} snippet = { expand = function(args) require('luasnip').lsp_expand(args.body) @@ -600,9 +600,9 @@ require('packer').startup({function() }, { { name = 'neorg' }, -- { name = 'orgmode' }, - { name = 'spell', keyword_length = 3, max_item_count = 10 }, + { name = 'spell', keyword_length = 3, max_item_count = 5 }, { name = 'path' }, - { name = 'buffer', keyword_length = 3 }, + -- { name = 'buffer', keyword_length = 3 }, }), formatting = { fields = {'kind', 'abbr', 'menu'}, |