Skip to content

Annoying error when editing PHP files on Mac OS 10.7.3 #12

nerdo opened this Issue Jun 27, 2012 · 1 comment

2 participants

nerdo commented Jun 27, 2012

This happens on Mac OS Lion 10.7.3 when editing a PHP file:

"copyswf.php" 56L, 1411C
Error detected while processing /.../PIV/syntax/php.vim:
line 63:
E108: No such variable: "b:current_syntax"

The fix is simple. Change line 63 to read:

if exists("b:current_syntax")
unlet b:current_syntax


if this is still a problem, try submitting a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.