kemayo/sublime-text-2-goto-documentation — Issue #3: Documentation for HTML (Rails)
Author: gs
Created: 2011-12-16 09:36:10+00:00
State: open

Hi,

Documentation does not works for format HTML(Rails):

scope = text.html.ruby source.ruby.rails.embedded.html
extracted_scope = html

so I've added a condition:
if re.search('rails', scope):
extracted_scope = 'rails'

in 71,72 line and if the scope is from rails then it will send to rails_doc method.

Br,
Grzegorz