class RubyLsp::Requests::SemanticHighlighting

The semantic highlighting request informs the editor of the correct token types to provide consistent and accurate highlighting for themes.

Example

def foo
  var = 1 # --> semantic highlighting: local variable
  some_invocation # --> semantic highlighting: method invocation
  var # --> semantic highlighting: local variable
end

Public Class Methods

new(global_state, dispatcher, range: nil)

Calls superclass method

provider()

Public Instance Methods

perform()