diff options
Diffstat (limited to 'autoload/zig/list.vim')
-rw-r--r-- | autoload/zig/list.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/autoload/zig/list.vim b/autoload/zig/list.vim index 97ebf47f..9716e8c9 100644 --- a/autoload/zig/list.vim +++ b/autoload/zig/list.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'zig') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1 " Adapted from fatih/vim-go: autoload/go/list.vim " " Copyright 2011 The Go Authors. All rights reserved. @@ -160,3 +157,4 @@ function! zig#list#Type(for) abort endfunction " vim: sw=2 ts=2 et +endif |