Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Setup neocomplcache for go
Browse files Browse the repository at this point in the history
  • Loading branch information
caio committed Aug 12, 2012
1 parent f3213a3 commit b9cf114
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vimrc
Expand Up @@ -148,7 +148,7 @@ set noswapfile
set title
set noerrorbells
set novisualbell
"set completeopt=menu,preview,longest,menuone
set completeopt=menu,preview,longest,menuone
" reducing noise
set more
set cmdheight=1
Expand All @@ -174,7 +174,7 @@ endif

" {{{ Wildmenu
set wildmenu
set wildmode=list:longest
set wildmode=list
set wildignore+=.hg,.git,.svn
set wildignore+=*.aux,*.out,*.toc
set wildignore+=*.jpg,*.bmp,*.gif,*.png,*.jpeg
Expand Down Expand Up @@ -402,6 +402,7 @@ endif
let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::'
let g:neocomplcache_omni_patterns.c = '\%(\.\|->\)\h\w*'
let g:neocomplcache_omni_patterns.cpp = '\h\w*\%(\.\|->\)\h\w*\|\h\w*::'
let g:neocomplcache_omni_patterns.go = '\.\w'
" }}}
" }}}

Expand Down

0 comments on commit b9cf114

Please sign in to comment.