summaryrefslogtreecommitdiffstats
path: root/syntax/modules/slice.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/slice.vim')
-rw-r--r--syntax/modules/slice.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/syntax/modules/slice.vim b/syntax/modules/slice.vim
new file mode 100644
index 00000000..75a935d7
--- /dev/null
+++ b/syntax/modules/slice.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Slice Module <https://github.com/alibaba/nginx-http-slice>
+" Nginx module for serving a file in slices (reverse byte-range)
+syn keyword ngxDirectiveThirdParty slice
+syn keyword ngxDirectiveThirdParty slice_arg_begin
+syn keyword ngxDirectiveThirdParty slice_arg_end
+syn keyword ngxDirectiveThirdParty slice_header
+syn keyword ngxDirectiveThirdParty slice_footer
+syn keyword ngxDirectiveThirdParty slice_header_first
+syn keyword ngxDirectiveThirdParty slice_footer_last
+
+
+endif