diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-06 21:36:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-06 21:36:40 +0200 |
commit | 203d04d76413fb46ada3feb73144f3172b1a9e05 (patch) | |
tree | f21c19b07ab9f7f327d2ba4e3df7fbc58cd6d737 /runtime/scripts.vim | |
parent | 4cd92d5aae72098baed6e630f548c92dbe54c448 (diff) | |
download | vim-git-203d04d76413fb46ada3feb73144f3172b1a9e05.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 459b03064..251e4c8f0 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -152,6 +152,10 @@ if s:line1 =~ "^#!" elseif s:name =~ 'cfengine' set ft=cfengine + " Erlang scripts + elseif s:name =~ 'escript' + set ft=erlang + endif unlet s:name @@ -333,6 +337,11 @@ else \ && s:line3 =~ '^Each sample counts as .* seconds.$' set ft=gprof + " Erlang terms + " (See also: http://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html#Choosing-Modes) + elseif s:line1 =~? '-\*-.*erlang.*-\*-' + set ft=erlang + " CVS diff else let s:lnum = 1 |