PIV icon indicating copy to clipboard operation
PIV copied to clipboard

Annoying error when editing PHP files on Mac OS 10.7.3

Open nerdo opened this issue 12 years ago • 1 comments

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 endif

nerdo avatar Jun 27 '12 14:06 nerdo

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

ghost avatar Jun 22 '14 09:06 ghost