bitc / hdevtools

REPO UNMAINTAINED!!! Try this: https://github.com/hdevtools/hdevtools/
MIT License
171 stars 43 forks source link

Highlight range of characters instead of just one #25

Open kallus opened 10 years ago

kallus commented 10 years ago

When using hdevtools together with vim and syntastic, only one character is highlighted/underlined when there is an error. Could it be made so that the entire token/function etc. is highlighted? I am quite sure that syntastic has support for this?

bitc commented 10 years ago

If I recall correctly, GHC does not report a range for errors, only a single character position.

As you say, manually detecting the entire token is possible, but this is probably more relevant for https://github.com/bitc/vim-hdevtools