comparison runtime/syntax/apache.vim @ 22565:17c4178f26ea

Update runtime files. Commit: https://github.com/vim/vim/commit/4f4d51a942cc2c6b3e936ee0f93f00c2d000065c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 11 13:57:40 2020 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Oct 2020 14:00:05 +0200
parents bc1a8d21c811
children 4d76b3e07c07
comparison
equal deleted inserted replaced
22564:2e79e579dd52 22565:17c4178f26ea
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Apache configuration (httpd.conf, srm.conf, access.conf, .htaccess) 2 " Language: Apache configuration (httpd.conf, srm.conf, access.conf, .htaccess)
3 " Maintainer: David Necas (Yeti) <yeti@physics.muni.cz> 3 " Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
4 " License: This file can be redistribued and/or modified under the same terms 4 " License: This file can be redistribued and/or modified under the same terms
5 " as Vim itself. 5 " as Vim itself.
6 " Last Change: 2018-12-06 6 " Last Change: 2020 Oct 07
7 " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported 7 " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported
8 " TODO: see particular FIXME's scattered through the file 8 " TODO: see particular FIXME's scattered through the file
9 " make it really linewise? 9 " make it really linewise?
10 " + add `display' where appropriate 10 " + add `display' where appropriate
11 11
40 syn match apacheOptionOption "[+-]\?\<\(ExecCGI\|FollowSymLinks\|Includes\|IncludesNoExec\|Indexes\|MultiViews\|SymLinksIfOwnerMatch\)\>" 40 syn match apacheOptionOption "[+-]\?\<\(ExecCGI\|FollowSymLinks\|Includes\|IncludesNoExec\|Indexes\|MultiViews\|SymLinksIfOwnerMatch\)\>"
41 syn keyword apacheOption user group 41 syn keyword apacheOption user group
42 syn match apacheOption "\<valid-user\>" 42 syn match apacheOption "\<valid-user\>"
43 syn case match 43 syn case match
44 syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained 44 syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained
45 " Added as suggested by Mikko Koivunalho
46 syn keyword apacheMethodOption BASELINE-CONTROL CHECKIN CHECKOUT LABEL MERGE MKACTIVITY MKWORKSPACE REPORT UNCHECKOUT UPDATE VERSION-CONTROL contained
45 syn case ignore 47 syn case ignore
46 syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything 48 syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything
47 syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError 49 syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError
48 syn keyword apacheLimitSectionKeyword Limit LimitExcept contained 50 syn keyword apacheLimitSectionKeyword Limit LimitExcept contained
49 syn match apacheAuthType "AuthType\s.*$" contains=apacheAuthTypeValue 51 syn match apacheAuthType "AuthType\s.*$" contains=apacheAuthTypeValue