summaryrefslogtreecommitdiffstats
path: root/syntax/rego.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/rego.vim')
-rw-r--r--syntax/rego.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/rego.vim b/syntax/rego.vim
index 2c3eed95..5c0cfd52 100644
--- a/syntax/rego.vim
+++ b/syntax/rego.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('rego', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'rego')
finish
endif