Skip to content

Commit

Permalink
fixup! plugin: use go#util#Echo* functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bhcleek committed Aug 20, 2019
1 parent 07414e6 commit e1dd396
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions plugin/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ function! s:checkVersion() abort
endif

if l:unsupported == 1
call go#util#EchoError([
\ 'vim-go requires Vim 7.4.2009 or Neovim 0.3.2, but you are using an older version.',
\ 'Please update your Vim for the best vim-go experience.',
\ 'If you really want to continue you can set this to make the error go away:',
\ ' let g:go_version_warning = 0',
\ 'Note that some features may error out or behave incorrectly.',
\ 'Please do not report bugs unless you are using Vim 7.4.2009 or newer or Neovim 0.3.2.',
\])
echohl Error
echom "vim-go requires Vim 7.4.2009 or Neovim 0.3.2, but you're using an older version."
echom "Please update your Vim for the best vim-go experience."
echom "If you really want to continue you can set this to make the error go away:"
echom " let g:go_version_warning = 0"
echom "Note that some features may error out or behave incorrectly."
echom "Please do not report bugs unless you're using Vim 7.4.2009 or newer or Neovim 0.3.2."
echohl None

" Make sure people see this.
sleep 2
Expand Down

0 comments on commit e1dd396

Please sign in to comment.