summaryrefslogtreecommitdiff
path: root/runtime/scripts.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-29 15:12:19 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-29 15:12:19 +0200
commit34401cca5ae3dce543154c967d727b13254e15b5 (patch)
tree39859b7fbbc7872417e227f523179aec1e5c476f /runtime/scripts.vim
parent773b158de8f813b0683fc56e37639937e5c9c1ee (diff)
downloadvim-34401cca5ae3dce543154c967d727b13254e15b5.zip
Update runtime files.
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r--runtime/scripts.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index 251e4c8f0..5c136abbb 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: 2013 May 24
+" Last change: 2014 Aug 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
@@ -319,6 +319,10 @@ else
elseif s:line1 =~ '^==\d\+== valgrind' || s:line3 =~ '^==\d\+== Using valgrind'
set ft=valgrind
+ " Go docs
+ elseif s:line1 =~ '^PACKAGE DOCUMENTATION$'
+ set ft=godoc
+
" Renderman Interface Bytestream
elseif s:line1 =~ '^##RenderMan'
set ft=rib