Removed error when gvim isn't used

This commit is contained in:
Nate Kane 2010-12-12 14:37:52 +10:00
parent a1b1818ebb
commit dae2b598bc

View File

@ -1,15 +1,10 @@
" Author: Nate Kane <nathanaelkane AT gmail DOT com> " Author: Nate Kane <nathanaelkane AT gmail DOT com>
" Homepage: http://github.com/nathanaelkane/vim-indent-guides " Homepage: http://github.com/nathanaelkane/vim-indent-guides
if exists('g:loaded_indent_guides') || &cp if exists('g:loaded_indent_guides') || &cp || !has('gui_running')
finish finish
endif endif
if !has('gui_running')
echoerr "The Indent Guides plugin requires gvim to work correctly."
finish
end
let g:loaded_indent_guides = 1 let g:loaded_indent_guides = 1
function! s:IndentGuidesToggle() function! s:IndentGuidesToggle()