From 849ba8a36bfa0c7050e2979af43c5023364b55cf Mon Sep 17 00:00:00 2001 From: amix Date: Sun, 20 Mar 2016 19:01:44 +0100 Subject: [PATCH] Updated vim plugins --- sources_non_forked/goyo.vim/autoload/goyo.vim | 14 +- .../syntastic/doc/syntastic.txt | 72 ++++--- .../syntastic/plugin/syntastic.vim | 6 + .../syntastic/plugin/syntastic/registry.vim | 9 +- .../vim-fugitive/doc/fugitive.txt | 4 +- sources_non_forked/vim-go/README.md | 8 + .../vim-go/autoload/ctrlp/decls.vim | 158 ++++++++++++++++ .../vim-go/autoload/go/complete.vim | 24 +-- sources_non_forked/vim-go/autoload/go/def.vim | 19 +- .../vim-go/autoload/go/oracle.vim | 15 +- .../vim-go/autoload/go/path.vim | 1 - .../vim-go/autoload/go/rename.vim | 11 +- .../vim-go/autoload/go/textobj.vim | 179 +++++++++++++++++- .../vim-go/autoload/go/util.vim | 16 ++ sources_non_forked/vim-go/doc/vim-go.txt | 42 +++- sources_non_forked/vim-go/ftplugin/go.vim | 21 +- .../vim-go/ftplugin/go/commands.vim | 6 + sources_non_forked/vim-go/plugin/go.vim | 1 + sources_non_forked/vim-go/syntax/go.vim | 13 +- .../vim-snippets/UltiSnips/c.snippets | 2 +- 20 files changed, 509 insertions(+), 112 deletions(-) create mode 100644 sources_non_forked/vim-go/autoload/ctrlp/decls.vim diff --git a/sources_non_forked/goyo.vim/autoload/goyo.vim b/sources_non_forked/goyo.vim/autoload/goyo.vim index edacd10b..4b15bc89 100644 --- a/sources_non_forked/goyo.vim/autoload/goyo.vim +++ b/sources_non_forked/goyo.vim/autoload/goyo.vim @@ -34,7 +34,7 @@ endfunction function! s:set_color(group, attr, color) let gui = a:color =~ '^#' - execute printf("hi %s %s%s=%s", a:group, gui ? 'gui' : 'cterm', a:attr, a:color) + execute printf('hi %s %s%s=%s', a:group, gui ? 'gui' : 'cterm', a:attr, a:color) endfunction function! s:blank(repel) @@ -207,13 +207,13 @@ function! s:goyo_on(dim) endif " vim-airline - let t:goyo_disabled_airline = exists("#airline") + let t:goyo_disabled_airline = exists('#airline') if t:goyo_disabled_airline AirlineToggle endif " vim-powerline - let t:goyo_disabled_powerline = exists("#PowerlineMain") + let t:goyo_disabled_powerline = exists('#PowerlineMain') if t:goyo_disabled_powerline augroup PowerlineMain autocmd! @@ -222,7 +222,7 @@ function! s:goyo_on(dim) endif " lightline.vim - let t:goyo_disabled_lightline = exists('#LightLine') + let t:goyo_disabled_lightline = exists('#lightline') if t:goyo_disabled_lightline silent! call lightline#disable() endif @@ -330,7 +330,7 @@ function! s:goyo_off() let &winheight = wh for [k, v] in items(goyo_revert) - execute printf("let &%s = %s", k, string(v)) + execute printf('let &%s = %s', k, string(v)) endfor execute 'colo '. get(g:, 'colors_name', 'default') @@ -344,7 +344,7 @@ function! s:goyo_off() endif endif - if goyo_disabled_airline && !exists("#airline") + if goyo_disabled_airline && !exists('#airline') AirlineToggle " For some reason, Airline requires two refreshes to avoid display " artifacts @@ -352,7 +352,7 @@ function! s:goyo_off() silent! AirlineRefresh endif - if goyo_disabled_powerline && !exists("#PowerlineMain") + if goyo_disabled_powerline && !exists('#PowerlineMain') doautocmd PowerlineStartup VimEnter silent! PowerlineReloadColorscheme endif diff --git a/sources_non_forked/syntastic/doc/syntastic.txt b/sources_non_forked/syntastic/doc/syntastic.txt index d60e8ccf..70f2ca48 100644 --- a/sources_non_forked/syntastic/doc/syntastic.txt +++ b/sources_non_forked/syntastic/doc/syntastic.txt @@ -746,53 +746,81 @@ takes precedence over both 'b:syntastic___exec' and ------------------------------------------------------------------------------ 5.3 Configuring specific checkers *syntastic-config-makeprg* -Most checkers use the 'makeprgBuild()' function and provide many options by -default - in fact you can customise every part of the command that gets called. +Checkers are run by constructing a command line and passing it to a shell. +In most cases this command line is built using an internal function named +'makeprgBuild()', which provides a number of options that allows you to +customise every part of the command that gets called. *'syntastic___