Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::Highlights::WriteHighlight

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)


67
68
69
70
71
72
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 67

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