summaryrefslogtreecommitdiffstats
path: root/autoload/julia_blocks.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/julia_blocks.vim')
-rw-r--r--autoload/julia_blocks.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/autoload/julia_blocks.vim b/autoload/julia_blocks.vim
index 0f4d2bb0..46b18484 100644
--- a/autoload/julia_blocks.vim
+++ b/autoload/julia_blocks.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
" Facilities for moving around Julia blocks (e.g. if/end, function/end etc.)
" (AKA a collection of horrible hacks)
@@ -796,3 +793,4 @@ function! s:cursor_moved(...)
let b:jlblk_did_select = b:jlblk_doing_select
let b:jlblk_doing_select = 0
endfunction
+endif