klorenz / atom-regex-railroad-diagrams

display regex as railroad diagram, if cursor moves to it
MIT License
250 stars 31 forks source link

Selectively disable based on filetypes #79

Open stugol opened 7 years ago

stugol commented 7 years ago

Some types of file don't have regular expressions; or delimit them in different ways. HTML for example. It should be possible to specify which filetypes this extension will handle.

klorenz commented 7 years ago

@stugol, can you please be more specific? In HTML there are no regular expressions. If you include JavaScript atom should recognize this and correctly mark regexes. So this is handled by atom's language hightlighting.

Sod-Almighty commented 7 years ago

In HAML there are.