From 05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 1 Jan 2021 22:30:41 +0100 Subject: Fix loading for vim 8 packages, closes #613 --- syntax/slpconf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax/slpconf.vim') diff --git a/syntax/slpconf.vim b/syntax/slpconf.vim index 9484c333..e7777ba9 100644 --- a/syntax/slpconf.vim +++ b/syntax/slpconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'slpconf') +if polyglot#init#is_disabled(expand(':p'), 'slpconf', 'syntax/slpconf.vim') finish endif -- cgit v1.2.3