Hi, This patch adds support for APT config files. Please let me know if it is in an appropriate format:
--- a/runtime/filetype.vim 2012-10-04 23:57:11.704541092 +0200
+++ b/runtime/filetype.vim 2012-10-05 00:00:35.989972876 +0200
@@ -112,6 +112,11 @@
" Apache config file
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
+" APT config file
+au BufNewFile,BufRead apt.conf setf aptconf
+au BufNewFile,BufRead */.aptitude/config setf aptconf
+au BufNewFile,BufRead
*/etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} setf aptconf
+
" XA65 MOS6510 cross assembler
au BufNewFile,BufRead *.a65 setf a65
Thanks
quidame
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
aptconf.vim
Description: Binary data
--- a/runtime/filetype.vim 2012-10-04 23:57:11.704541092 +0200
+++ b/runtime/filetype.vim 2012-10-05 00:00:35.989972876 +0200
@@ -112,6 +112,11 @@
" Apache config file
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
+" APT config file
+au BufNewFile,BufRead apt.conf setf aptconf
+au BufNewFile,BufRead */.aptitude/config setf aptconf
+au BufNewFile,BufRead */etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} setf aptconf
+
" XA65 MOS6510 cross assembler
au BufNewFile,BufRead *.a65 setf a65
