From 964fa8d921259385c471870bd5344974e79294b6 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 21 Nov 2023 23:31:23 +0800 Subject: Update vim config --- .vim/after/plugin/rooter.vim | 2 +- .vimrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vim/after/plugin/rooter.vim b/.vim/after/plugin/rooter.vim index d01e79f..2d56427 100644 --- a/.vim/after/plugin/rooter.vim +++ b/.vim/after/plugin/rooter.vim @@ -1 +1 @@ -let g:rooter_patterns = ['.git', '.root'] +let g:rooter_patterns = ['.git', '.root', 'go.mod'] diff --git a/.vimrc b/.vimrc index 91dfcd2..e247e13 100644 --- a/.vimrc +++ b/.vimrc @@ -56,7 +56,7 @@ set hidden set completeopt=menu,menuone,noinsert,noselect if !has('nvim') - set completeopt+=popup + set completeopt+=popup,popuphidden set completepopup=align:menu,border:off,highlight:WildMenu endif set complete=.,w,b,u " Don't use tags and included files as there may be lots of files -- cgit v1.2.3