aboutsummaryrefslogtreecommitdiff
path: root/runtime/scripts.vim
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-01-04 19:37:32 +0100
committerFlorian Walch <florian@fwalch.com>2015-01-04 19:42:30 +0100
commitb332aebe252c812ec4068892db4fad71b8075185 (patch)
tree252a2616a496b575f1b07285df42d88d06cfa8a2 /runtime/scripts.vim
parent10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7 (diff)
downloadrneovim-b332aebe252c812ec4068892db4fad71b8075185.tar.gz
rneovim-b332aebe252c812ec4068892db4fad71b8075185.tar.bz2
rneovim-b332aebe252c812ec4068892db4fad71b8075185.zip
vim-patch:6921742
Update runtime files. https://code.google.com/p/vim/source/detail?r=6921742f396a4abd21d7f69843b804ca0b96059c
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 93206b8e6e..b62b0a5db8 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
@@ -314,6 +314,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