To:
[email protected]
Subject: Patch 6.1b.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 6.1b.008
Problem: *.xsl files are not recognized as xslt but xml.
Monk files are not recognized.
Solution: Delete the duplicate line for *.xsl. (Johannes Zellner)
Recognize monk files.
Files: runtime/filetype.vim
*** ../vim61b.007/runtime/filetype.vim Fri Mar 1 21:48:28 2002
--- runtime/filetype.vim Fri Mar 15 20:40:32 2002
***************
*** 1,7 ****
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <
[email protected]>
! " Last change: 2002 Mar 01
" 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: 2002 Mar 15
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
***************
*** 637,642 ****
--- 637,645 ----
" Modula 3 (.m3, .i3, .mg, .ig)
au BufNewFile,BufRead *.[mi][3g] setf modula3
+ " Monk
+ au BufNewFile,BufRead *.isc,*.monk,*.ssc,*.tsc setf monk
+
" MOO
au BufNewFile,BufRead *.moo setf moo
***************
*** 1241,1247 ****
\ if !<SID>FTnroff() | setf xmath | endif
" XML
- au BufNewFile,BufRead *.xsl setf xml
au BufNewFile,BufRead *.xml
\ if getline(1) . getline(2) . getline(3) =~ '<!DOCTYPE.*DocBook' |
\ let b:docbk_type="xml" |
--- 1244,1249 ----
***************
*** 1249,1254 ****
--- 1251,1259 ----
\ else |
\ setf xml |
\ endif
+
+ " XSD
+ au BufNewFile,BufRead *.xsd setf xsd
" Xslt
au BufNewFile,BufRead *.xsl setf xslt
*** ../vim61b.007/src/version.c Fri Mar 15 20:55:53 2002
--- src/version.c Fri Mar 15 21:06:42 2002
***************
*** 608,609 ****
--- 608,611 ----
{ /* Add new patch number below this line */
+ /**/
+ 8,
/**/
--
ARTHUR: I am your king!
WOMAN: Well, I didn't vote for you.
ARTHUR: You don't vote for kings.
WOMAN: Well, 'ow did you become king then?
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar --
[email protected] --
http://www.moolenaar.net \\\
/// Creator of Vim --
http://vim.sf.net --
ftp://ftp.vim.org/pub/vim \\\
\\\ Project leader for A-A-P --
http://www.a-a-p.org ///
\\\ Help me helping AIDS orphans in Uganda -
http://iccf-holland.org ///