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 c1d5a9ea..0b562661 100644
--- a/syntax/desktop.vim
+++ b/syntax/desktop.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('desktop', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'desktop')
finish
endif