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 vim.org 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:
                pkg-plist
                pkg-descr
                Makefile (when they're underneath a ports category)
                rc.conf
                sysctl.conf
                loader.conf
        * Write filetype plugins for ports
                You could use portlint as the compiler
                        Quickfix could then help resolve problems
                Vimplate could be used for templating
                        http://www.vim.org/scripts/script.php?script_id=1808
                Tag completion could help with variables like SITE_PERL
        * Write filetype plugin for rc.conf
                This could utilize omni completion for what's in
                /etc/default/rc.conf
        ...

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

-- 
Ian Tegebo
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to