diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
commit | 05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 (patch) | |
tree | c01457f2798bbbeaf313ac343315aec5a2aa3859 /syntax/html | |
parent | f3b646fd6f6070072d9b4ec958815b74a8a333f2 (diff) | |
download | vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.tar.gz vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.zip |
Fix loading for vim 8 packages, closes #613
Diffstat (limited to '')
-rw-r--r-- | syntax/html.vim | 2 | ||||
-rw-r--r-- | syntax/htmldjango.vim | 2 | ||||
-rw-r--r-- | syntax/htmlm4.vim | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/syntax/html.vim b/syntax/html.vim index 37c03c45..c823d362 100644 --- a/syntax/html.vim +++ b/syntax/html.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'html') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'html', 'syntax/html.vim') finish endif diff --git a/syntax/htmldjango.vim b/syntax/htmldjango.vim index d7060757..f4b4f676 100644 --- a/syntax/htmldjango.vim +++ b/syntax/htmldjango.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'htmldjango') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'htmldjango', 'syntax/htmldjango.vim') finish endif diff --git a/syntax/htmlm4.vim b/syntax/htmlm4.vim index b2c8002a..be53419a 100644 --- a/syntax/htmlm4.vim +++ b/syntax/htmlm4.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'htmlm4') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'htmlm4', 'syntax/htmlm4.vim') finish endif |