sponsor Vim development Vim logo Vim Book Ad

php_localvarcheck.vim : highlight unused/unassigned local variable

 script karma  Rating 9/3, Downloaded by 1490  Comments, bugs, improvements  Vim wiki

created by
Yukihiro Nakadaira
 
script type
ftplugin
 
description
function example($unused) {
  echo $unassigned;
}

$unused and $unassigned are highlighted when the cursor is in example().
 
install details
Put file in you ftplugin directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
php_localvarcheck.vim 1.1 2009-10-08 7.0 Yukihiro Nakadaira Fixed a bug that function is not caught when the cursor is positioned before function keyword.
php_localvarcheck.vim 1.0 2009-10-07 7.2 Yukihiro Nakadaira Initial upload
ip used for rating: 35.172.110.179

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github