Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

disable ansi color for keyword lookup with `ri` in GUI #119

Merged
merged 1 commit into from

2 participants

@mislav

GUI Vim doesn't support displaying ansi-colored output from commands,
but ri defaults to color. This explicitly disables that.

In non-GUI vim, colors display just fine so that isn't touched.

@AndrewRadev AndrewRadev merged commit b3af8c4 into vim-ruby:master
@AndrewRadev
Collaborator

Looks good, thanks.

@mislav mislav deleted the mislav:ri-color branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2012
  1. @mislav
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ftplugin/ruby.vim
View
2  ftplugin/ruby.vim
@@ -15,7 +15,7 @@ let s:cpo_save = &cpo
set cpo&vim
if has("gui_running") && !has("gui_win32")
- setlocal keywordprg=ri\ -T
+ setlocal keywordprg=ri\ -T\ -f\ bs
else
setlocal keywordprg=ri
endif
Something went wrong with that request. Please try again.