@@ -21,7 +21,7 @@ class GlobalState
21
21
attr_reader :encoding
22
22
23
23
sig { returns ( T ::Boolean ) }
24
- attr_reader :experimental_features , : top_level_bundle
24
+ attr_reader :top_level_bundle
25
25
26
26
sig { returns ( TypeInferrer ) }
27
27
attr_reader :type_inferrer
@@ -40,7 +40,6 @@ def initialize
40
40
@has_type_checker = T . let ( true , T ::Boolean )
41
41
@index = T . let ( RubyIndexer ::Index . new , RubyIndexer ::Index )
42
42
@supported_formatters = T . let ( { } , T ::Hash [ String , Requests ::Support ::Formatter ] )
43
- @experimental_features = T . let ( false , T ::Boolean )
44
43
@type_inferrer = T . let ( TypeInferrer . new ( @index ) , TypeInferrer )
45
44
@addon_settings = T . let ( { } , T ::Hash [ String , T . untyped ] )
46
45
@top_level_bundle = T . let (
@@ -131,7 +130,6 @@ def apply_options(options)
131
130
end
132
131
@index . configuration . encoding = @encoding
133
132
134
- @experimental_features = options . dig ( :initializationOptions , :experimentalFeaturesEnabled ) || false
135
133
@client_capabilities . apply_client_capabilities ( options [ :capabilities ] ) if options [ :capabilities ]
136
134
137
135
addon_settings = options . dig ( :initializationOptions , :addonSettings )
0 commit comments