# HG changeset patch # User zegervdv # Date 1617008360 -7200 # Node ID 42bc7d63537e1e76f847ce9da815b9f5ba41d588 # Parent d8216ea00ad13a8f97e6f60e9b4ae533196a2d9d Map to trigger completion in compe diff -r d8216ea00ad1 -r 42bc7d63537e dot_config/nvim/config.lua --- a/dot_config/nvim/config.lua Sat Mar 27 17:31:46 2021 +0100 +++ b/dot_config/nvim/config.lua Mon Mar 29 10:59:20 2021 +0200 @@ -112,11 +112,12 @@ min_length = 1; preselect = 'enable'; throttle_time = 80; - source_timeout = 2000; + source_timeout = 1000; incomplete_delay = 400; max_abbr_width = 100; max_kind_width = 100; max_menu_width = 100; + documentation = true; source = { path = true; @@ -126,11 +127,11 @@ nvim_lua = true; spell = true; ultisnips = true; - treesitter = true; + -- TODO add vsnip for LSP snippets }; } - vim.cmd [[ inoremap compe#complete() ]] + vim.cmd [[ inoremap compe#complete() ]] vim.cmd [[ inoremap compe#confirm({ 'keys': "\delimitMateCR", 'mode': '' }) ]] vim.cmd [[ inoremap compe#close('') ]] end