Suggested changes to the syntax highlighting in filetype.vim for the package bind9
Fabiano Francisco
fabianocoisa at gmail.com
Fri Jun 17 18:33:01 UTC 2011
Hello!
I would like to suggest a change in the file filetype.vim (located in /
usr/share/vim/vim72/filetype.vim) to facilitate the editing of configuration
files (syntax highlighting) of BIND packaged for Debian. The default
installation of bind9 package creates the following configuration files in
the directory /etc/bind/:
- bind.keys
- db.0
- db.127
- db.255
- db.empty
- db.local
- db.root
- named.conf
- named.conf.default-zones
- named.conf.local
- named.conf.options
- rndc.key
- zones.rfc1918
Natively vim does not do syntax highlighting in these files:
named.conf.default-zones, named.conf.options and named.conf.local
I suggest adding "named.conf.*" on line 281 of file filetype.vim
diff as follows:
--- /usr/share/vim/vim72/filetype.vim 2011-06-16 18:02:01.000000000 -0300
+++ filetype-fabiano.vim 2011-06-17 14:53:12.000000000 -0300
@@ -278,7 +278,7 @@
au BufNewFile,BufRead *.bst setf bst
" BIND configuration
-au BufNewFile,BufRead named.conf,rndc.conf setf named
+au BufNewFile,BufRead named.conf,named.conf.*,rndc.conf setf named
" BIND zone
au BufNewFile,BufRead named.root setf bindzone
I think in making this suggestion since the launch Debian version 5
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20110617/c56f14a0/attachment.html>
More information about the pkg-vim-maintainers
mailing list