diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
commit | 3fdfa4a9a52ab3d1a790262ee872a49853ad4626 (patch) | |
tree | 76f57a06a5f3b9e0abc15446b38722658fde7e1e /runtime/scripts.vim | |
parent | e5f258eb4c4b87ea1d6f61c1a0a9deecbb5d9726 (diff) | |
download | vim-git-3fdfa4a9a52ab3d1a790262ee872a49853ad4626.tar.gz |
updated for version 7.0017v7.0017
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 07d04ff07..69bee3aaf 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types in scripts " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last change: 2004 Sep 02 +" Last change: 2004 Oct 02 " This file is called by an autocommand for every file that has just been " loaded into a buffer. It checks if the type of file can be recognized by @@ -57,14 +57,14 @@ if s:line1 =~ "^#!" " csh scripts elseif s:name =~ '^csh\>' if exists("g:filetype_csh") - let &ft = g:filetype_csh + call SetFileTypeShell(g:filetype_csh) else - set ft=csh + call SetFileTypeShell("csh") endif " tcsh scripts elseif s:name =~ '^tcsh\>' - set ft=tcsh + call SetFileTypeShell("tcsh") " Z shell scripts elseif s:name =~ '^zsh\>' |