lib/solargraph/language_server/host.rb
# Flag a method as available for dynamic registration.
#
# @param method [String] The method name, e.g., 'textDocument/completion'
Flag a method as available for dynamic registration.
Flag a method as available for dynamic registration .
def allow_registration method
        @register_semaphore.synchronize do
          @dynamic_capabilities.add method
        end
      end
def allow_registration method @register_semaphore . synchronize do @dynamic_capabilities . add method end end
Flag a method as available for dynamic registration.
Flag a method as available for dynamic registration .
method
The method name, e.g., 'textDocument/completion'
The method name e . g . ' textDocument / completion '