update vimgo
This commit is contained in:
parent
f93e09a263
commit
624b11997b
3 changed files with 16 additions and 8 deletions
|
|
@ -119,7 +119,7 @@ endfunction"}}}
|
||||||
|
|
||||||
function! neobundle#commands#check() abort "{{{
|
function! neobundle#commands#check() abort "{{{
|
||||||
if neobundle#installer#get_tags_info() !=#
|
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.
|
" Recache automatically.
|
||||||
NeoBundleDocs
|
NeoBundleDocs
|
||||||
endif
|
endif
|
||||||
|
|
@ -730,13 +730,10 @@ function! s:check_really_clean(dirs) abort "{{{
|
||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
|
||||||
function! s:update_tags() abort "{{{
|
function! s:update_tags() abort "{{{
|
||||||
let bundles = [{ 'rtp' : neobundle#get_runtime_dir()}]
|
let enabled = neobundle#config#get_enabled_bundles()
|
||||||
\ + neobundle#config#get_enabled_bundles()
|
let bundles = [{ 'rtp' : neobundle#get_runtime_dir()}] + enabled
|
||||||
call neobundle#util#copy_bundle_files(bundles, 'doc')
|
call neobundle#util#copy_bundle_files(bundles, 'doc')
|
||||||
|
call neobundle#util#writefile('tags_info', sort(map(enabled, 'v:val.name')))
|
||||||
call neobundle#util#writefile('tags_info',
|
|
||||||
\ sort(map(neobundle#config#get_neobundles(), 'v:val.name')))
|
|
||||||
|
|
||||||
silent execute 'helptags' fnameescape(neobundle#get_tags_dir())
|
silent execute 'helptags' fnameescape(neobundle#get_tags_dir())
|
||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,10 @@ augroup END
|
||||||
"autocmd FileType javascript let b:auto_trim_whitespace=1
|
"autocmd FileType javascript let b:auto_trim_whitespace=1
|
||||||
"augroup END
|
"augroup END
|
||||||
|
|
||||||
|
augroup hs
|
||||||
|
autocmd FileType hs nnoremap <Leader>ii :GhcModInfo!<CR>
|
||||||
|
augroup END
|
||||||
|
|
||||||
augroup mkd
|
augroup mkd
|
||||||
autocmd FileType mkd set ai formatoptions=tcroqn2 comments=n:>
|
autocmd FileType mkd set ai formatoptions=tcroqn2 comments=n:>
|
||||||
augroup END
|
augroup END
|
||||||
|
|
|
||||||
9
.vimrc
9
.vimrc
|
|
@ -307,6 +307,9 @@ let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:15'
|
||||||
|
|
||||||
" * Vim-Go
|
" * Vim-Go
|
||||||
let g:go_fmt_command = "goimports"
|
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 **
|
" ** STATUSLINE **
|
||||||
|
|
@ -588,7 +591,6 @@ nnoremap <silent> <Leader>o :CtrlPBuffer<CR>
|
||||||
"nnoremap <Leader>p :PTW
|
"nnoremap <Leader>p :PTW
|
||||||
nnoremap <Leader>p :LustyJugglePrevious<CR>
|
nnoremap <Leader>p :LustyJugglePrevious<CR>
|
||||||
nnoremap <Leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
nnoremap <Leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
||||||
nnoremap <Leader>ii :GhcModInfo!<CR>
|
|
||||||
|
|
||||||
" ** EXTRA INCLUDES **
|
" ** EXTRA INCLUDES **
|
||||||
"
|
"
|
||||||
|
|
@ -601,3 +603,8 @@ endif
|
||||||
" filetype.vim
|
" filetype.vim
|
||||||
|
|
||||||
command Comments lexpr system('/home/barak/src/gogh/src/github.com/barakmich/gogh/gogh')
|
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': {}},
|
||||||
|
"\ ])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue