vim-syntastic / syntastic

Syntax checking hacks for vim
Do What The F*ck You Want To Public License
11.3k stars 1.14k forks source link

Bunch of errors upon loading #2258

Closed ageis closed 5 years ago

ageis commented 5 years ago

My vim version is:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 22 2019 12:55:04)
Included patches: 1-875, 878, 884, 948

Am I missing something or loading this plugin incorrectly?

Error detected while processing /home/kevin/.vim/bundle/syntastic/plugin/syntastic.vim:
line   48:
E117: Unknown function: syntastic#util#isRunningWindows
line   55:
E121: Undefined variable: s:_running_windows
line   77:
E121: Undefined variable: g:_SYNTASTIC_UNAME
line  114:
E121: Undefined variable: s:_running_windows
line  117:
E121: Undefined variable: g:_SYNTASTIC_DEFAULTS
E116: Invalid arguments for function keys(g:_SYNTASTIC_DEFAULTS)
line  178:
E121: Undefined variable: g:SyntasticRegistry
line  179:
E121: Undefined variable: g:SyntasticNotifiers
line  180:
E121: Undefined variable: g:SyntasticModeMap
line  279:
E121: Undefined variable: g:syntastic_nested_autocommands
ageis commented 5 years ago

Hmm, moving the files in autoload to ~/.vim/autoload helped with a few of em.

ageis commented 5 years ago

I guess this is not meant to be loaded as a bundle. My bad.

lcd047 commented 5 years ago

You're probably loading it incorrectly, but it's hard to guess why / how from the info you have shown, and mind reading has never been my strong point. :smile: