subtleGradient / language-javascript-jsx

JavaScript with JSX Bundle for Atom
45 stars 6 forks source link

How do I turn off certain keywords (`get` causes bad formatting) #36

Open himynameisdave opened 7 years ago

himynameisdave commented 7 years ago

Hi,

Sometimes we make use of lodash/get in our codebase. This causes the code following it to not be properly formatted:

screen recording 2017-05-08 at 04 01 pm

Likely due to this line, it looks like certain keywords trigger this kind of highlighting, which is undesirable. How do I either:

himynameisdave commented 7 years ago

Side note: the editor that I am using is Atom, as I realize this package seems to be editor-agnostic

kimsch commented 7 years ago

I'm eager for an answer to this as well. The same thing happens whenever you write 'get' within the actual JSX too, (like 'get started').