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