update vimgo

This commit is contained in:
Barak Michener 2017-04-28 18:02:08 -07:00
parent f93e09a263
commit 624b11997b
3 changed files with 16 additions and 8 deletions

View file

@ -119,7 +119,7 @@ endfunction"}}}
function! neobundle#commands#check() abort "{{{
if neobundle#installer#get_tags_info() !=#
\ sort(map(neobundle#config#get_neobundles(), 'v:val.name'))
\ sort(map(neobundle#config#get_enabled_bundles(), 'v:val.name'))
" Recache automatically.
NeoBundleDocs
endif
@ -730,13 +730,10 @@ function! s:check_really_clean(dirs) abort "{{{
endfunction"}}}
function! s:update_tags() abort "{{{
let bundles = [{ 'rtp' : neobundle#get_runtime_dir()}]
\ + neobundle#config#get_enabled_bundles()
let enabled = neobundle#config#get_enabled_bundles()
let bundles = [{ 'rtp' : neobundle#get_runtime_dir()}] + enabled
call neobundle#util#copy_bundle_files(bundles, 'doc')
call neobundle#util#writefile('tags_info',
\ sort(map(neobundle#config#get_neobundles(), 'v:val.name')))
call neobundle#util#writefile('tags_info', sort(map(enabled, 'v:val.name')))
silent execute 'helptags' fnameescape(neobundle#get_tags_dir())
endfunction"}}}

View file

@ -67,6 +67,10 @@ augroup END
"autocmd FileType javascript let b:auto_trim_whitespace=1
"augroup END
augroup hs
autocmd FileType hs nnoremap <Leader>ii :GhcModInfo!<CR>
augroup END
augroup mkd
autocmd FileType mkd set ai formatoptions=tcroqn2 comments=n:&gt;
augroup END

9
.vimrc
View file

@ -307,6 +307,9 @@ let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:15'
" * Vim-Go
let g:go_fmt_command = "goimports"
let g:go_auto_type_info = 1
let g:go_updatetime = 300
let g:go_bin_path = "$HOME/.go/bin"
" ** STATUSLINE **
@ -588,7 +591,6 @@ nnoremap <silent> <Leader>o :CtrlPBuffer<CR>
"nnoremap <Leader>p :PTW
nnoremap <Leader>p :LustyJugglePrevious<CR>
nnoremap <Leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
nnoremap <Leader>ii :GhcModInfo!<CR>
" ** EXTRA INCLUDES **
"
@ -601,3 +603,8 @@ endif
" filetype.vim
command Comments lexpr system('/home/barak/src/gogh/src/github.com/barakmich/gogh/gogh')
"call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [
"\ {'sync': v:true, 'name': '_deoplete', 'type': 'function', 'opts': {}},
"\ ])