From owner-freebsd-questions@FreeBSD.ORG Mon Apr 9 18:49:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D983116A403 for ; Mon, 9 Apr 2007 18:49:13 +0000 (UTC) (envelope-from yontege@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.freebsd.org (Postfix) with ESMTP id CAEED13C487 for ; Mon, 9 Apr 2007 18:49:13 +0000 (UTC) (envelope-from yontege@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1032) id 9DC945B775; Mon, 9 Apr 2007 11:49:13 -0700 (PDT) Date: Mon, 9 Apr 2007 11:49:13 -0700 From: "Ian A. Tegebo" To: freebsd-questions@freebsd.org Message-ID: <20070409184913.GC31763@rescomp.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Request and Ideas: Vim filetype plugins for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 18:49:13 -0000 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