summaryrefslogtreecommitdiffstats
path: root/syntax/modules/sphinx2.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/sphinx2.vim')
-rw-r--r--syntax/modules/sphinx2.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/syntax/modules/sphinx2.vim b/syntax/modules/sphinx2.vim
new file mode 100644
index 00000000..ff737113
--- /dev/null
+++ b/syntax/modules/sphinx2.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Sphinx2 Module <https://github.com/reeteshranjan/sphinx2-nginx-module>
+" Nginx upstream module for Sphinx 2.x
+syn keyword ngxDirectiveThirdParty sphinx2_pass
+syn keyword ngxDirectiveThirdParty sphinx2_bind
+syn keyword ngxDirectiveThirdParty sphinx2_connect_timeout
+syn keyword ngxDirectiveThirdParty sphinx2_send_timeout
+syn keyword ngxDirectiveThirdParty sphinx2_buffer_size
+syn keyword ngxDirectiveThirdParty sphinx2_read_timeout
+syn keyword ngxDirectiveThirdParty sphinx2_next_upstream
+
+
+endif