[vim] 03/10: Revert "Detect the rst filetype using the contents of the file"
James McCoy
jamessan at debian.org
Mon Aug 8 04:49:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit f47058caedb4fe7c2c2b66239cd8c7140a381e80
Author: James McCoy <jamessan at debian.org>
Date: Sun Aug 7 15:33:31 2016 -0400
Revert "Detect the rst filetype using the contents of the file"
This reverts commit 9819e6a7c90161b65f821f182d68594a9e91aee7 so that it
can be managed by gbp-pq instead.
Signed-off-by: James McCoy <jamessan at debian.org>
---
runtime/scripts.vim | 8 --------
1 file changed, 8 deletions(-)
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index bea9dea..5c136ab 100644
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -331,14 +331,6 @@ else
elseif s:line1 =~ 'exec\s\+\S*scheme' || s:line2 =~ 'exec\s\+\S*scheme'
set ft=scheme
- " rst files
- elseif s:line1 =~ '^\.\.\s\|^\s*restindex\s*$'
- \ || s:line2 =~ '^\.\.\s\|^\s*restindex\s*$'
- \ || s:line3 =~ '^\.\.\s\|^\s*restindex\s*$'
- \ || s:line4 =~ '^\.\.\s\|^\s*restindex\s*$'
- \ || s:line5 =~ '^\.\.\s\|^\s*restindex\s*$'
- set ft=rst
-
" Git output
elseif s:line1 =~ '^\(commit\|tree\|object\) \x\{40\}\>\|^tag \S\+$'
set ft=git
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list