summaryrefslogtreecommitdiffstats
path: root/syntax/modules/http-accounting.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/http-accounting.vim')
-rw-r--r--syntax/modules/http-accounting.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/syntax/modules/http-accounting.vim b/syntax/modules/http-accounting.vim
new file mode 100644
index 00000000..fbe2defa
--- /dev/null
+++ b/syntax/modules/http-accounting.vim
@@ -0,0 +1,12 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" HTTP Accounting Module <https://github.com/Lax/ngx_http_accounting_module>
+" Add traffic stat function to nginx. Useful for http accounting based on nginx configuration logic
+syn keyword ngxDirectiveThirdParty http_accounting
+syn keyword ngxDirectiveThirdParty http_accounting_log
+syn keyword ngxDirectiveThirdParty http_accounting_id
+syn keyword ngxDirectiveThirdParty http_accounting_interval
+syn keyword ngxDirectiveThirdParty http_accounting_perturb
+
+
+endif