diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-16 23:01:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-16 23:01:50 +0000 |
commit | 5b8d8fdb526bd21dbac64a3ea815a1e628b93b41 (patch) | |
tree | b5374790a1bada07bc6aa142919591fc4898e0bb /runtime/filetype.vim | |
parent | ae5bce1c127136a650ee25c4c78d3d334cc07859 (diff) |
updated for version 7.0131v7.0131
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 560c479d2a..96c06e4d8b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2005 Aug 15 +" Last Change: 2005 Aug 16 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1833,7 +1833,7 @@ au BufNewFile,BufRead *.y call s:FTy() fun! s:FTy() let n = 1 while n < 10 && n < line("$") - if getline(n) =~ '^\s*\(#\|class\>\)' + if getline(n) =~ '^\s*\(#\|class\>\)' && getline(n) !~ '^\s*#\s*include' setf racc return endif |