Sha256: 5e0b80ba8bb4bd1d3fc194cb0327d55d38b61e0d8de667b46d10e98d125a8f0d

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 Bytes

Contents

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

require "sorbet-runtime"

begin
  T::Configuration.default_checked_level = :never
  # Suppresses call validation errors
  T::Configuration.call_validation_error_handler = ->(*) {}
  # Suppresses errors caused by T.cast, T.let, T.must, etc.
  T::Configuration.inline_type_error_handler = ->(*) {}
  # Suppresses errors caused by incorrect parameter ordering
  T::Configuration.sig_validation_error_handler = ->(*) {}
rescue
  # Need this rescue so that if another gem has
  # already set the checked level by the time we
  # get to it, we don't fail outright.
  nil
end

require_relative "../lib/ruby_lsp/internal"
RubyLsp::Server.new.start

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-lsp-0.4.1 exe/ruby-lsp
ruby-lsp-0.4.0 exe/ruby-lsp