aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-21 23:31:23 +0800
committerGuangxiong Lin <[email protected]>2023-11-21 23:31:23 +0800
commit964fa8d921259385c471870bd5344974e79294b6 (patch)
treed29bec17d1560c80e8e47132cae30d12c6ddcdc1
parent0b841faa85e590b0719e5a6afeb9dc647b1ae485 (diff)
downloaddotfiles-964fa8d921259385c471870bd5344974e79294b6.tar.gz
dotfiles-964fa8d921259385c471870bd5344974e79294b6.tar.bz2
dotfiles-964fa8d921259385c471870bd5344974e79294b6.zip
Update vim config
-rw-r--r--.vim/after/plugin/rooter.vim2
-rw-r--r--.vimrc2
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