]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-300 v7.1.300
authorBram Moolenaar <Bram@vim.org>
Wed, 28 May 2008 15:32:20 +0000 (15:32 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 28 May 2008 15:32:20 +0000 (15:32 +0000)
runtime/filetype.vim
src/version.c

index e20a53aed46c393cfd7002672d61ac729dc6b692..be0e1cc59b3f8a10d264b9e2c30e910f91122330 100644 (file)
@@ -190,7 +190,7 @@ func! s:FTasmsyntax()
   let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4).
        \" ".getline(5)." "
   if head =~ '\sasmsyntax=\S\+\s'
-    let b:asmsyntax = substitute(head, '.*\sasmsyntax=\(\S\+\)\s.*','\1', "")
+    let b:asmsyntax = substitute(head, '.*\sasmsyntax=\([a-zA-Z0-9]\+\)\s.*','\1', "")
   elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library'))
     let b:asmsyntax = "vmasm"
   endif
index 7b7bdcd03dbbe93c2962379e29da578a6d8b8411..60fb612eccc7e68bd3cded7db6fc429a41024f9f 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    300,
 /**/
     299,
 /**/