From 3ee6ab9d13767aacceea51e72ecf9646206b7163 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 16 Oct 2020 13:41:54 +0200 Subject: Update --- syntax/apache.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'syntax/apache.vim') diff --git a/syntax/apache.vim b/syntax/apache.vim index b515c411..737f478f 100644 --- a/syntax/apache.vim +++ b/syntax/apache.vim @@ -5,7 +5,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apache') == -1 " Maintainer: David Necas (Yeti) " License: This file can be redistribued and/or modified under the same terms " as Vim itself. -" Last Change: 2018-12-06 +" Last Change: 2020 Oct 07 " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported " TODO: see particular FIXME's scattered through the file " make it really linewise? @@ -44,6 +44,8 @@ syn keyword apacheOption user group syn match apacheOption "\" syn case match syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained +" Added as suggested by Mikko Koivunalho +syn keyword apacheMethodOption BASELINE-CONTROL CHECKIN CHECKOUT LABEL MERGE MKACTIVITY MKWORKSPACE REPORT UNCHECKOUT UPDATE VERSION-CONTROL contained syn case ignore syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError -- cgit v1.2.3