To:
[email protected]
Subject: Patch 7.2b.008
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.2b.008
Problem: A few filetypes are not detected or not detected properly.
Solution: Add filetype detection patterns. (Nikolai Weibull)
Files: runtime/filetype.vim
*** ../vim-7.2b.007/runtime/filetype.vim Sun Jul 13 19:14:36 2008
--- runtime/filetype.vim Thu Jul 17 21:49:24 2008
***************
*** 1,7 ****
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <
[email protected]>
! " Last Change: 2008 Jul 08
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
--- 1,7 ----
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <
[email protected]>
! " Last Change: 2008 Jul 17
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
***************
*** 92,100 ****
" Ada (83, 9X, 95)
au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada
if has("vms")
! au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada
else
! au BufNewFile,BufRead *.gpr setf ada
endif
" AHDL
--- 92,100 ----
" Ada (83, 9X, 95)
au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada
if has("vms")
! au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada
else
! au BufNewFile,BufRead *.gpr setf ada
endif
" AHDL
***************
*** 291,296 ****
--- 291,299 ----
" Blank
au BufNewFile,BufRead *.bl setf blank
+ " Blkid cache file
+ au BufNewFile,BufRead /etc/blkid.tab,/etc/blkid.tab.old setf xml
+
" C or lpc
au BufNewFile,BufRead *.c call s:FTlpc()
***************
*** 739,745 ****
au BufNewFile,BufRead *.gsp setf gsp
" Group file
! au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak setf group
" GTK RC
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
--- 742,748 ----
au BufNewFile,BufRead *.gsp setf gsp
" Group file
! au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak setf group
" GTK RC
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
***************
*** 800,805 ****
--- 803,811 ----
" Host config
au BufNewFile,BufRead /etc/host.conf setf hostconf
+ " Hosts access
+ au BufNewFile,BufRead /etc/hosts.allow,/etc/hosts.deny setf hostsaccess
+
" Hyper Builder
au BufNewFile,BufRead *.hb setf hb
***************
*** 850,856 ****
" Indent RC
! au BufNewFile,BufRead indentrc setf indentrc
" Inform
au BufNewFile,BufRead *.inf,*.INF setf inform
--- 856,862 ----
" Indent RC
! au BufNewFile,BufRead indentrc setf indent
" Inform
au BufNewFile,BufRead *.inf,*.INF setf inform
***************
*** 1463,1468 ****
--- 1469,1477 ----
" Python
au BufNewFile,BufRead *.py,*.pyw setf python
+ " Quixote (Python-based web framework)
+ au BufNewFile,BufRead *.ptl setf python
+
" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance
***************
*** 1561,1566 ****
--- 1570,1578 ----
" RTF
au BufNewFile,BufRead *.rtf setf rtf
+ " Interactive Ruby shell
+ au BufNewFile,BufRead .irbrc,irbrc setf ruby
+
" Ruby
au BufNewFile,BufRead *.rb,*.rbw,*.gem,*.gemspec setf ruby
*** ../vim-7.2b.007/src/version.c Fri Jul 18 12:05:07 2008
--- src/version.c Fri Jul 18 12:52:42 2008
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 8,
/**/
--
There is a fine line between courage and foolishness.
Unfortunately, it's not a fence.
/// Bram Moolenaar --
[email protected] --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute --
http://www.A-A-P.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///