nvim: Sync nvim-compe settings with upstream

This commit is contained in:
Sanchayan Maity 2021-02-18 17:28:35 +05:30
parent b1f19745f0
commit ae391080a1
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,7 @@ vim.o.inccommand = 'split'
vim.o.switchbuf = 'useopen' vim.o.switchbuf = 'useopen'
vim.o.encoding = 'utf-8' vim.o.encoding = 'utf-8'
vim.o.mouse = '' vim.o.mouse = ''
vim.o.completeopt = 'menu,menuone,noselect' vim.o.completeopt = 'menuone,noselect'
vim.o.backspace = 'indent,eol,start' vim.o.backspace = 'indent,eol,start'
vim.o.wildmenu = true vim.o.wildmenu = true
vim.o.wildmode = 'longest:full,full' vim.o.wildmode = 'longest:full,full'

View file

@ -9,7 +9,7 @@ require'compe'.setup {
throttle_time = 80; throttle_time = 80;
source_timeout = 200; source_timeout = 200;
incomplete_delay = 400; incomplete_delay = 400;
allow_prefix_unmatch = false; documentation = true;
source = { source = {
path = true; path = true;
@ -17,6 +17,7 @@ require'compe'.setup {
calc = true; calc = true;
nvim_lsp = true; nvim_lsp = true;
nvim_lua = true; nvim_lua = true;
omni = false;
spell = true; spell = true;
tags = true; tags = true;
treesitter = true; treesitter = true;