Vim MacPorts support
Maximilian Nickel
mnick at macports.org
Thu Jul 23 11:02:48 PDT 2009
Hi everyone,
i've started work on MacPorts support for Vim. Right now it consists
of syntax coloring for Portfiles, lint support and autoloading stuff.
Syntax coloring is still in early stages, down to the configure phase
most stuff should work though.
Lint support is implemented through Vim's compiler. Running :make when
editing a Portfile will run port lint on it. If there are errors a
quickfix window will open and display them. As port lint doesn't
report line numbers for errors right now, there is no support for
directly jumping to the errorneous lines yet.
Anyway, if you want to check it out, you can get the source with "svn
co https://svn.macports.org/repository/macports/users/mnick/macports.vim"
Just copy everything in that directory into your ~/.vim directory and
you should be set
I've not yet decided how to exactly color the syntax, so if you have
suggestions i'd be happy to hear them, along with any other
suggestions.
Cheers,
Max
More information about the macports-dev
mailing list