Sha256: 3edda26a346b4329e2fb0d5add7461d8aef50eafa41ea701eb981f5739060a03

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 KB

Contents

# typed: strict
# frozen_string_literal: true

# If YARP is in the bundle, we have to remove it from the $LOAD_PATH because it contains a default export named `prism`
# that will conflict with the actual Prism gem
yarp_require_paths = Gem.loaded_specs["yarp"]&.full_require_paths
$LOAD_PATH.delete_if { |path| yarp_require_paths.include?(path) } if yarp_require_paths

require "sorbet-runtime"

# Set Bundler's UI level to silent as soon as possible to prevent any prints to STDOUT
require "bundler"
Bundler.ui.level = :silent

require "uri"
require "cgi"
require "set"
require "prism"
require "prism/visitor"
require "language_server-protocol"

require "ruby-lsp"
require "ruby_lsp/base_server"
require "ruby_indexer/ruby_indexer"
require "core_ext/uri"
require "ruby_lsp/utils"
require "ruby_lsp/parameter_scope"
require "ruby_lsp/global_state"
require "ruby_lsp/server"
require "ruby_lsp/requests"
require "ruby_lsp/response_builders"
require "ruby_lsp/document"
require "ruby_lsp/ruby_document"
require "ruby_lsp/store"
require "ruby_lsp/addon"
require "ruby_lsp/requests/support/rubocop_runner"
require "ruby_lsp/requests/support/rubocop_formatter"
require "ruby_lsp/requests/support/syntax_tree_formatter"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-lsp-0.16.6 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.5 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.4 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.3 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.2 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.1 lib/ruby_lsp/internal.rb
ruby-lsp-0.16.0 lib/ruby_lsp/internal.rb