Added a check to make sure gvim is being used

This commit is contained in:
Nate Kane 2010-12-12 13:08:40 +10:00
parent 7e4e964eb6
commit 26c03c710a

View File

@ -4,6 +4,12 @@
if exists('g:loaded_indent_guides') || &cp
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()