1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated plugins

This commit is contained in:
amix
2016-12-27 11:46:49 -03:00
parent 04abc6907c
commit a6de243fca
67 changed files with 2836 additions and 1097 deletions

View File

@ -13,7 +13,7 @@ endif
" < >
" t for tag
function! go#textobj#Function(mode)
function! go#textobj#Function(mode) abort
let offset = go#util#OffsetCursor()
let fname = shellescape(expand("%:p"))
@ -84,7 +84,7 @@ function! go#textobj#Function(mode)
call cursor(info.rbrace.line-1, 1)
endfunction
function! go#textobj#FunctionJump(mode, direction)
function! go#textobj#FunctionJump(mode, direction) abort
" get count of the motion. This should be done before all the normal
" expressions below as those reset this value(because they have zero
" count!). We abstract -1 because the index starts from 0 in motion.