perl_synwrite.vim : checks Perl syntax before allowing file write
| script karma |
Rating 94/33,
Downloaded by 4238 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Ricardo Signes |
| |
| script type |
| ftplugin |
| |
| description |
This plugin causes write attempts to fail if the contents of the buffer produce an error when run through "perl -c"
The plugin uses can use autocommands for the BufWriteCmd and FileWriteCmd events, but by default only provides a :Write command to check-then-write. |
| |
| install details |
| Put this file in one of the locations described in :help ftplugin such as "~/.vim/after/ftplugin"; if you want autocommands, which are quirky, define perl_synwrite_au = 1 |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.169
|