hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
191 stars 47 forks source link

Correct highlight of modules in require/import list #26

Closed ALSchwalm closed 9 years ago

ALSchwalm commented 9 years ago

Currently only the first module is highlighted in require/import lists, this fix highlights all of them. Note that this does not fix highlighting of submodule imports, so

;; sys and pprint are now highlighted, os and path are still not highlighted
(import sys pprint [os [path]])

These can be arbitrarily nested, so I'm not sure how to go about supporting highlighting in this case.

theanalyst commented 9 years ago

Nice :+1: