diff options
author | Squibid <me@zacharyscheiman.com> | 2024-01-30 21:52:24 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-01-30 21:52:24 -0500 |
commit | d94b454eb61a0d0a99f9939560506c2db24f3315 (patch) | |
tree | 52dd40a8d51a79896750fa0fd0ea85fd3445405f /after/plugin/cmp.lua | |
parent | e669b3eb8e27069ed0c52ea269e3c27debb989b6 (diff) | |
download | nvim-d94b454eb61a0d0a99f9939560506c2db24f3315.tar.gz nvim-d94b454eb61a0d0a99f9939560506c2db24f3315.tar.bz2 nvim-d94b454eb61a0d0a99f9939560506c2db24f3315.zip |
way too lazy to sort this out, adding kitchen sink
Diffstat (limited to 'after/plugin/cmp.lua')
-rw-r--r-- | after/plugin/cmp.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index 0e8de6b..7106aae 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -10,10 +10,6 @@ local has_words_before = function() [1]:sub(col, col):match("%s") == nil end --- insert '()' after completing a function -cmp.event:on('confirm_done', - require('nvim-autopairs.completion.cmp').on_confirm_done()) - local luasnip = require('luasnip') local neogen = require('neogen') require("luasnip.loaders.from_vscode").lazy_load() @@ -27,6 +23,7 @@ cmp.setup { sources = cmp.config.sources({ { name = 'nvim_lsp', keyword_length = 3 }, + { name = 'nvim_lua' }, { name = 'luasnip_choice' }, { name = 'async_path' }, { name = 'buffer', keyword_length = 3, max_item_count = 7 }, |