diff runtime/syntax/apachestyle.vim @ 13051:a6d3e2081544

Update runtime files commit https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 17 17:17:07 2017 +0100 Update runtime files
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Dec 2017 17:30:05 +0100
parents 46763b01cd9a
children
line wrap: on
line diff
--- a/runtime/syntax/apachestyle.vim
+++ b/runtime/syntax/apachestyle.vim
@@ -1,8 +1,10 @@
 " Vim syntax file
 " Language:	Apache-Style configuration files (proftpd.conf/apache.conf/..)
-" Maintainer:	Christian Hammers <ch@westend.com>
-" URL:		none
+" Maintainer:	Ben RUBSON <ben.rubson@gmail.com>
+" Former Maintainer:	Christian Hammers <ch@westend.com>
 " ChangeLog:
+"	2017-12-17,ch
+"		correctly detect comments
 "	2001-05-04,ch
 "		adopted Vim 6.0 syntax style
 "	1999-10-28,ch
@@ -27,8 +29,8 @@ endif
 
 syn case ignore
 
+syn match  apOption	/^\s*[^ \t#<=]*/
 syn match  apComment	/^\s*#.*$/
-syn match  apOption	/^\s*[^ \t#<=]*/
 "syn match  apLastValue	/[^ \t<=#]*$/ contains=apComment	ugly
 
 " tags