Added a check to make sure gvim is being used
This commit is contained in:
parent
7e4e964eb6
commit
26c03c710a
@ -4,6 +4,12 @@
|
|||||||
if exists('g:loaded_indent_guides') || &cp
|
if exists('g:loaded_indent_guides') || &cp
|
||||||
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user