summaryrefslogtreecommitdiffstats
path: root/syntax/cnp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/cnp.vim')
-rw-r--r--syntax/cnp.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/syntax/cnp.vim b/syntax/cnp.vim
index da9f4ba..a8139ec 100644
--- a/syntax/cnp.vim
+++ b/syntax/cnp.vim
@@ -84,7 +84,12 @@ call s:generateParamKey('Reason', 'Reason', 'reason')
call s:generateParamVal('Reason', '\<\(syntax\|version\|invalid\|not_supported\|too_large\|not_found\|denied\|rejected\|server_error\)\>')
call s:generateParamKey('Select', 'Selector', 'select')
-call s:generateParamVal('Selector', 'bytes:\(0\|[1-9][0-9]*\)\?-\(0\|[1-9][0-9]*\)\?')
+call s:generateParamVal('Selector', 'byte:\(0\|[1-9][0-9]*\)\?-\(0\|[1-9][0-9]*\)\?')
+call s:generateParamVal('Selector', 'info:')
+call s:generateParamVal('Selector', 'cnm:!\?')
+call s:generateParamVal('Selector', 'cnm:!\?/\(\([^ /]\+\)\(/[^ /]\+\)*\)\?')
+call s:generateParamVal('Selector', 'cnm:!\?#[^ /]*')
+call s:generateParamVal('Selector', 'cnm:!\?\$\(\([1-9][0-9]*\)\(\.[1-9][0-9]*\)*\)\?')
hi def link cnpError Error