Removed error when gvim isn't used
This commit is contained in:
parent
a1b1818ebb
commit
dae2b598bc
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user