diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-16 13:41:54 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-16 13:41:54 +0200 |
commit | 3ee6ab9d13767aacceea51e72ecf9646206b7163 (patch) | |
tree | 0d4ff5e447f262d709c18ef0e95622bb7b1c13f2 /syntax/apache.vim | |
parent | cd919c003992d5868b2b6e254ca265f82a45933f (diff) | |
download | vim-polyglot-3ee6ab9d13767aacceea51e72ecf9646206b7163.tar.gz vim-polyglot-3ee6ab9d13767aacceea51e72ecf9646206b7163.zip |
Update
Diffstat (limited to 'syntax/apache.vim')
-rw-r--r-- | syntax/apache.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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) <yeti@physics.muni.cz> " 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 "\<valid-user\>" 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 |