From dae2b598bccb6f20f917549212c23e93b30afc4a Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Sun, 12 Dec 2010 14:37:52 +1000 Subject: [PATCH] Removed error when gvim isn't used --- plugin/indent_guides.vim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugin/indent_guides.vim b/plugin/indent_guides.vim index 537bd02..49633c6 100644 --- a/plugin/indent_guides.vim +++ b/plugin/indent_guides.vim @@ -1,15 +1,10 @@ " Author: Nate Kane " 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()