summaryrefslogtreecommitdiffstats
path: root/syntax/modules/user-agent.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/user-agent.vim')
-rw-r--r--syntax/modules/user-agent.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/syntax/modules/user-agent.vim b/syntax/modules/user-agent.vim
new file mode 100644
index 00000000..a718b2a1
--- /dev/null
+++ b/syntax/modules/user-agent.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" User Agent Module <https://github.com/alibaba/nginx-http-user-agent>
+" Match browsers and crawlers
+syn keyword ngxDirectiveThirdParty user_agent
+
+
+endif