diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-05-28 15:32:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-05-28 15:32:20 +0000 |
commit | a6b1a7e182b1e82b8ca80b6413112ed0d7c6065b (patch) | |
tree | 0fffea5aa737c7d432725a4362e3becfc22fccd8 /runtime | |
parent | aebaf89fd4626e52dee4a6bb4cdec8dbf2556bd2 (diff) | |
download | vim-git-a6b1a7e182b1e82b8ca80b6413112ed0d7c6065b.tar.gz |
updated for version 7.1-300v7.1.300
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index e20a53aed..be0e1cc59 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |