diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-04 22:05:54 -0500 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-04 22:05:54 -0500 |
| commit | 6bfe0daf63c3311df2b3c734c2518b79d7e68842 (patch) | |
| tree | 4d24cedbc101edace37f612afda879f5bbf4a423 /runtime/scripts.vim | |
| parent | 10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7 (diff) | |
| parent | 099fdb49a700f851f0165089fc2ca06807591f6a (diff) | |
| download | rneovim-6bfe0daf63c3311df2b3c734c2518b79d7e68842.tar.gz rneovim-6bfe0daf63c3311df2b3c734c2518b79d7e68842.tar.bz2 rneovim-6bfe0daf63c3311df2b3c734c2518b79d7e68842.zip | |
Merge pull request #1772 from fwalch/vim-6921742
vim-patch:6921742, vim-patch:37c2403 (runtime updates)
Diffstat (limited to 'runtime/scripts.vim')
| -rw-r--r-- | runtime/scripts.vim | 6 |
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 |