summaryrefslogtreecommitdiffstats
path: root/syntax/desktop.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/desktop.vim')
-rw-r--r--syntax/desktop.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/desktop.vim b/syntax/desktop.vim
index f676005d..94964e3d 100644
--- a/syntax/desktop.vim
+++ b/syntax/desktop.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'desktop')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'desktop', 'syntax/desktop.vim')
finish
endif