way too lazy to sort this out, adding kitchen sink
This commit is contained in:
@ -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 },
|
||||
|
Reference in New Issue
Block a user