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/mgp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax/mgp.vim') diff --git a/syntax/mgp.vim b/syntax/mgp.vim index 00c77a1d..6aa74060 100644 --- a/syntax/mgp.vim +++ b/syntax/mgp.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mgp') +if polyglot#init#is_disabled(expand(':p'), 'mgp', 'syntax/mgp.vim') finish endif -- cgit v1.2.3