diff --git a/init.vim b/init.vim index 3a9c27c..6220dfe 100644 --- a/init.vim +++ b/init.vim @@ -11,7 +11,7 @@ set sidescroll=1 set scrolloff=3 set nobackup set mouse= -set completeopt=menu,menuone,noinsert,fuzzy +set completeopt-=preview set nofoldenable set spellcapcheck=0 "set sw=2 @@ -25,6 +25,7 @@ let g:c_syntax_for_h = 1 autocmd FileType c,cpp set cindent autocmd FileType c,cpp set cinoptions=:0,l0,t0,g0,(0 +autocmd FileType vue,javascript,typescript set completeopt=menu,menuone,noinsert,fuzzy if has('nvim') exec 'source' expand('~/.config/nvim/nvim.vim')