From d73d8820c13c2305dce0d1c8f190e683cdb6ef75 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Sun, 13 Jan 2008 18:17:28 -0800 Subject: [PATCH] Ensure that the right vocabs are available for textmate See and Help commands --- misc/Factor.tmbundle/Commands/Help for Word.tmCommand | 2 +- misc/Factor.tmbundle/Commands/See Word.tmCommand | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/Factor.tmbundle/Commands/Help for Word.tmCommand b/misc/Factor.tmbundle/Commands/Help for Word.tmCommand index a3d77d2f0c..350c01d344 100644 --- a/misc/Factor.tmbundle/Commands/Help for Word.tmCommand +++ b/misc/Factor.tmbundle/Commands/Help for Word.tmCommand @@ -11,7 +11,7 @@ require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/tm_factor" doc = STDIN.read word = line_current_word(ENV["TM_CURRENT_LINE"], ENV["TM_LINE_INDEX"].to_i) -factor_run(%Q(#{doc_using_statements(doc)} \\ #{word} help)) +factor_run(%Q(#{doc_using_statements(doc)} USE: help\n \\ #{word} help)) fallbackInput word input diff --git a/misc/Factor.tmbundle/Commands/See Word.tmCommand b/misc/Factor.tmbundle/Commands/See Word.tmCommand index b9dd2e5e90..4502e235be 100644 --- a/misc/Factor.tmbundle/Commands/See Word.tmCommand +++ b/misc/Factor.tmbundle/Commands/See Word.tmCommand @@ -11,7 +11,7 @@ require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/tm_factor" doc = STDIN.read word = line_current_word(ENV["TM_CURRENT_LINE"], ENV["TM_LINE_INDEX"].to_i) -puts factor_eval(%Q(#{doc_using_statements(doc)} \\ #{word} see)) +puts factor_eval(%Q(#{doc_using_statements(doc)} USE: prettyprint\n \\ #{word} see)) fallbackInput word input