Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::Highlights::ReadHighlight

Inherits:
Base
  • Object
show all
Defined in:
lib/rucoa/handlers/text_document_document_highlight_handler.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::TextDocumentDocumentHighlightHandler::Highlights::Base

Instance Method Details

#to_vscode_highlightHash

Returns:

  • (Hash)


57
58
59
60
61
62
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 57

def to_vscode_highlight
  {
    kind: 2,
    range: vscode_range
  }
end