diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-01 14:50:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-01 14:50:56 +0200 |
commit | 543b7ef7000d08d77409478315d68b607bb8bad8 (patch) | |
tree | 387cd45294ce55a130556d4e22a0b7706156b1fd /runtime/scripts.vim | |
parent | 3737fc1c30a559c82c57b5ce6aedae76cbeabaef (diff) | |
download | vim-git-543b7ef7000d08d77409478315d68b607bb8bad8.tar.gz |
Updated runtime files and translations.
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index bb5a49251..459b03064 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: 2012 Aug 30 +" Last change: 2013 May 24 " 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 @@ -327,6 +327,12 @@ else elseif s:line1 =~ '^\(commit\|tree\|object\) \x\{40\}\>\|^tag \S\+$' set ft=git + " Gprof (gnu profiler) + elseif s:line1 == 'Flat profile:' + \ && s:line2 == '' + \ && s:line3 =~ '^Each sample counts as .* seconds.$' + set ft=gprof + " CVS diff else let s:lnum = 1 |