You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to eliminate the JS highlighting of "console" calls which is really distracting, but can't quite find the right point to do so.
I see the rule in the local variable combobulate-highlight-queries-default, but am not sure the right time to remove it. I've attempted:
Set the var before loading the JS ts mode
Set the var just after loading it
Set the var in a setup hook for JS buffers
In setup hook, call (combobulate-highlight-install (treesit-parser-language (car-safe (treesit-parser-list))))
What I settled on for now is to call combubulate-highlight-clear in my JS setup hook function, but that doesn't seem like the right solution. I would guess they would come back at some point.
How would you recommend removing the rule?
Also, would be possible to either remove this from the defaults? It seems a bit agressive to override users themes. Or perhaps make it easier to disable such as using an alist for the defaults too to make it easier to identify them and remove them individually?
Thanks.
The text was updated successfully, but these errors were encountered:
Thanks. What is your recommended approach within the after-setup-hook other than calling clear highlights? I really just want to remove that one highlight since others could be useful ( I don't know what they are / are going to be in the future.)
@pbgc Sorry for the delay. I ended up adding (combobulate-highlight-clear) to my JS hook. I expected the highlighting to come back periodically but have not had any problems.
I'm trying to eliminate the JS highlighting of "console" calls which is really distracting, but can't quite find the right point to do so.
I see the rule in the local variable
combobulate-highlight-queries-default
, but am not sure the right time to remove it. I've attempted:(combobulate-highlight-install (treesit-parser-language (car-safe (treesit-parser-list))))
What I settled on for now is to call
combubulate-highlight-clear
in my JS setup hook function, but that doesn't seem like the right solution. I would guess they would come back at some point.How would you recommend removing the rule?
Also, would be possible to either remove this from the defaults? It seems a bit agressive to override users themes. Or perhaps make it easier to disable such as using an alist for the defaults too to make it easier to identify them and remove them individually?
Thanks.
The text was updated successfully, but these errors were encountered: