Class: CommandT::Scanner::HelpScanner

Inherits:
CommandT::Scanner show all
Defined in:
lib/command-t/scanner/help_scanner.rb

Instance Method Summary collapse

Instance Method Details

#flushObject



16
17
18
# File 'lib/command-t/scanner/help_scanner.rb', line 16

def flush
  @cached_tags = nil
end

#pathsObject



7
8
9
10
11
12
13
14
# File 'lib/command-t/scanner/help_scanner.rb', line 7

def paths
  runtimepath = ::VIM::evaluate('&runtimepath')
  if runtimepath != @runtimepath
    @cached_tags = nil
    @runtimepath = runtimepath
  end
  @cached_tags ||= paths!
end