wordpress.vim icon indicating copy to clipboard operation
wordpress.vim copied to clipboard

Syntax checking error

Open GuerrillaCoder opened this issue 8 years ago • 2 comments

Hi,

I have UltiSnips, YouCompleteMe, Syntastic & PHPComplete installed.

When I save a wordpress document I get this error

Error detected while processing function <SNR>49_BufWritePostHook[3]..<SNR>49_UpdateErrors[15]..<SNR>49_CacheErrors[35]..276[1]..275[23]..Syn
taxCheckers_wordpress_phpcs_GetLocList:
line   19:
E121: Undefined variable: args_before
E116: Invalid arguments for function 280
E15: Invalid expression: self.makeprgBuild({ 'args_before': args_before, 'args_after': '--report=csv' })
Error detected while processing function <SNR>49_BufWritePostHook[3]..<SNR>49_UpdateErrors[15]..<SNR>49_CacheErrors:
line   35:
E170: Missing :endfor
Error detected while processing function <SNR>49_BufWritePostHook[3]..<SNR>49_UpdateErrors:
line   15:
E171: Missing :endif

Any idea what is going on?

GuerrillaCoder avatar May 20 '16 00:05 GuerrillaCoder

@GuerrillaCoder Can you post the changes that you have made for WordPress.vim in your ~/.vimrc?

sudar avatar May 27 '16 04:05 sudar

@dsawardekar This will be fixed when #35 is merged. Can you please merge that pull request?

sudar avatar May 27 '16 04:05 sudar