Class: CommandT::Finder::HelpFinder
Instance Method Summary
collapse
#path=, #sorted_matches_for
Constructor Details
#initialize(options = {}) ⇒ HelpFinder
Returns a new instance of HelpFinder.
7
8
9
10
|
# File 'lib/command-t/finder/help_finder.rb', line 7
def initialize(options = {})
@scanner = Scanner::HelpScanner.new
@matcher = Matcher.new @scanner, :always_show_dot_files => true
end
|
Instance Method Details
#flush ⇒ Object
16
17
18
|
# File 'lib/command-t/finder/help_finder.rb', line 16
def flush
@scanner.flush
end
|
#name ⇒ Object
20
21
22
|
# File 'lib/command-t/finder/help_finder.rb', line 20
def name
'Help'
end
|
#open_selection(command, selection, options = {}) ⇒ Object
12
13
14
|
# File 'lib/command-t/finder/help_finder.rb', line 12
def open_selection(command, selection, options = {})
::VIM::command "help #{selection}"
end
|