Sha256: 53af6666a90e62a8581e97e0a6db1f98fcb9a2538722204836eb4dfc20041723

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"

require "ruby_lsp/internal"

index = RubyIndexer::Index.new

RubyIndexer.configuration.indexables.each do |indexable|
  puts "indexing: #{indexable.full_path}"
  content = File.read(indexable.full_path)
  result = Prism.parse(content)
  visitor = RubyIndexer::IndexVisitor.new(index, result, indexable.full_path)
  result.value.accept(visitor)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-lsp-0.12.0 exe/ruby-lsp-doctor