mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 10:53:47 -05:00
Removed error when gvim isn't used
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user