kemayo / sublime-text-2-goto-documentation

Sublime Text 2 plugin to go to documentation
128 stars 37 forks source link

Documentation for HTML (Rails) #3

Open gs opened 12 years ago

gs commented 12 years ago

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