way too lazy to sort this out, adding kitchen sink

This commit is contained in:
2024-01-30 21:52:24 -05:00
parent 6b7b94ad33
commit b62340de6f
16 changed files with 102 additions and 120 deletions

View File

@ -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 },