cygwin.vim : Compiler plugin for cygwin-tools used from the win32 native version of Vim
script karma |
Rating 16/6,
Downloaded by 3330 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Luc Hermitte |
|
script type |
utility |
|
description |
This file is useful with gcc and other programs run from make, when these tools come from Cygwin and the version of Vim used is the win32 native version.
In other environments, Vim default settings are perfect.
Reason: the filenames (for whom gcc reports errors) are expressed in the UNIX form, and Vim is unable to open them from the quickfix window. Hence the filtering used to replace '/' (root) by {cygpath -m /}.
Since the version 20040616, this plugin is also able to follow symbolic links -- defined from cygwin.
At this time, it has only be tested with gcc, but I guess it should be useful with other compilers built for cygwin.
Improvments are certainly posible. Any feedback is welcomed! |
|
install details |
Copy the file into one of your {rtp}/compiler/ directory, and be sure that $TERM or $OSTYPE value 'cygwin' before doing a:
:compiler cygwin
and then
:make target
The version 20040616 requires Perl (tested OK with cygwin's one) and cygUtils (more precisely: realpath). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|