commit:     604d85f810300b04dbe5139c65f31ebe3055eea8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 12:43:11 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 13:55:25 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=604d85f8

ftdetect: Account for GLEPs using .rst suffix

 ftdetect/gentoo.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim
index 305d567..610c6ef 100644
--- a/ftdetect/gentoo.vim
+++ b/ftdetect/gentoo.vim
@@ -18,7 +18,7 @@ au BufNewFile,BufRead *.e{build,class}
     \     set filetype=ebuild
 
 " GLEPs
-au BufNewFile,BufRead *.txt
+au BufNewFile,BufRead *.txt,*.rst
     \ if (getline(1) =~? "^GLEP: ") |
     \     set filetype=glep |
     \ endif

Reply via email to