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 /after/syntax/javascript | |
parent | f3b646fd6f6070072d9b4ec958815b74a8a333f2 (diff) | |
download | vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.tar.gz vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.zip |
Fix loading for vim 8 packages, closes #613
Diffstat (limited to 'after/syntax/javascript')
-rw-r--r-- | after/syntax/javascript/graphql.vim | 2 | ||||
-rw-r--r-- | after/syntax/javascript/html5.vim | 2 | ||||
-rw-r--r-- | after/syntax/javascript/sql.vim | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/after/syntax/javascript/graphql.vim b/after/syntax/javascript/graphql.vim index dafba802..d13ae9fb 100644 --- a/after/syntax/javascript/graphql.vim +++ b/after/syntax/javascript/graphql.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'graphql') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/javascript/graphql.vim') finish endif diff --git a/after/syntax/javascript/html5.vim b/after/syntax/javascript/html5.vim index b605aed5..117b4fed 100644 --- a/after/syntax/javascript/html5.vim +++ b/after/syntax/javascript/html5.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'html5') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/javascript/html5.vim') finish endif diff --git a/after/syntax/javascript/sql.vim b/after/syntax/javascript/sql.vim index 52b94d70..6ee30026 100644 --- a/after/syntax/javascript/sql.vim +++ b/after/syntax/javascript/sql.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'javascript-sql') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'javascript-sql', 'after/syntax/javascript/sql.vim') finish endif |