diff options
Diffstat (limited to 'ftplugin/ruby.vim')
-rw-r--r-- | ftplugin/ruby.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index 4c925fab..316a7296 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim filetype plugin " Language: Ruby " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -434,5 +436,3 @@ endfunction " " vim: nowrap sw=2 sts=2 ts=8: - -endif |