Mercurial > dotfiles
changeset 349:3d01318e4743
Tweak settings for compe
author | Zeger Van de Vannet <zegervdv@me.com> |
---|---|
date | Fri, 12 Feb 2021 09:02:39 +0100 |
parents | f220567b278e |
children | a9910306741c |
files | bin/.keep dot_config/nvim/config.lua dot_config/nvim/init.vim |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dot_config/nvim/config.lua Thu Feb 04 18:28:57 2021 +0100 +++ b/dot_config/nvim/config.lua Fri Feb 12 09:02:39 2021 +0100 @@ -94,7 +94,7 @@ min_length = 1; preselect = 'enable'; throttle_time = 80; - source_timeout = 200; + source_timeout = 2000; incomplete_delay = 400; max_abbr_width = 100; max_kind_width = 100; @@ -104,13 +104,11 @@ path = true; buffer = true; calc = true; - -- vsnip = true; nvim_lsp = true; - -- nvim_lua = true; + nvim_lua = true; spell = true; ultisnips = true; - -- tags = true; - -- snippets_nvim = true; + treesitter = true; }; }
--- a/dot_config/nvim/init.vim Thu Feb 04 18:28:57 2021 +0100 +++ b/dot_config/nvim/init.vim Fri Feb 12 09:02:39 2021 +0100 @@ -167,7 +167,7 @@ " Scan files for completion set complete=.,w,b,u,k,kspell,t,i,d " set completeopt=menuone,longest,preview,noinsert,noselect -set completeopt=noinsert,menuone,noselect +set completeopt=menu,menuone,noselect set splitright set virtualedit=block