Request and Ideas: Vim filetype plugins for FreeBSD

Ian A. Tegebo yontege at
Mon Apr 9 18:49:13 UTC 2007

I've been working on some ports and vim plugins and came across the
notion that having syntax highlighting for FreeBSD ports files, e.g.
pkg-plist, might be useful.  Firstly, I looked at and
freebsd-questions and in /usr/local/share/vim/vim* for any existing
material and didn't find anything.

My thoughts for filetype plugins for FreeBSD ports would be:

	* Create syntax files for things like:
		Makefile (when they're underneath a ports category)
	* Write filetype plugins for ports
		You could use portlint as the compiler
			Quickfix could then help resolve problems
		Vimplate could be used for templating
		Tag completion could help with variables like SITE_PERL
	* Write filetype plugin for rc.conf
		This could utilize omni completion for what's in

I notice that other distributions have done similar things.  Has anyone
done any work along these lines?

Ian Tegebo

More information about the freebsd-questions mailing list