Open nicholasrq opened 7 years ago
I wondering if there's any way to enable GC in files other than css, e.g. js files.
For example i have file with something like this and want GC to colorize it:
const ACTIONS_MAP = { change : { timeout: 300, color: '#FFFF02' }, input : { timeout: 300, color: '#FFFF02' }, keystroke : { timeout: 300, color: '#FFFF02' }, scroll : { timeout: 300, color: '#47669A' }, focus : { timeout: 100, color: '#0092EB' }, blur : { timeout: 100, color: '#0092EB' }, mousemove : { timeout: 100, color: '#5ABB8E' }, touchmove : { timeout: 100, color: '#5ABB8E' }, click : { timeout: 300, color: '#ff0000' }, mouseup : { timeout: 300, color: '#ff0000' }, mousedown : { timeout: 300, color: '#ff0000' }, touchstart : { timeout: 300, color: '#ff0000' }, zoom : { timeout: 300, color: '#ff0000' }, resize : { timeout: 500, color: '#FF00C3' }, mutation : { draw: false } }
Is there any simple way to achieve this?
I wondering if there's any way to enable GC in files other than css, e.g. js files.
For example i have file with something like this and want GC to colorize it:
Is there any simple way to achieve this?