Permalink
Browse files

Removed error when gvim isn't used

  • Loading branch information...
1 parent a1b1818 commit dae2b598bccb6f20f917549212c23e93b30afc4a @nathanaelkane committed Dec 12, 2010
Showing with 1 addition and 6 deletions.
  1. +1 −6 plugin/indent_guides.vim
View
7 plugin/indent_guides.vim
@@ -1,15 +1,10 @@
" Author: Nate Kane <nathanaelkane AT gmail DOT com>
" 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
endif
-if !has('gui_running')
- echoerr "The Indent Guides plugin requires gvim to work correctly."
- finish
-end
-
let g:loaded_indent_guides = 1
function! s:IndentGuidesToggle()

0 comments on commit dae2b59

Please sign in to comment.