moar icon indicating copy to clipboard operation
moar copied to clipboard

moor showing color for xml text based on color style theme

Open ciscohack opened this issue 1 month ago • 5 comments

Hi Johan,

In latest 2.9.2 version i noticed moor is showing color for some text like xml and all. earlier it was not like that. is this hard coded or how this feature got enabled. can user disabled it?

Image

ciscohack avatar Dec 02 '25 17:12 ciscohack

Do you want to get rid of syntax highlighting for:

  • All files?
  • Only some files?

But to answer your question, moor has always tried to syntax highlight all files it can, this is nothing new.

walles avatar Dec 02 '25 18:12 walles

@walles Oh! is it but i never had color highlight earlier. it's good feature though but i want to know if i have to hide for all file or for specific file then how to do it

ciscohack avatar Dec 02 '25 18:12 ciscohack

Every tool I know of (except for less) does syntax highlighting.

How have you disabled syntax highlighting in other tools?

walles avatar Dec 02 '25 19:12 walles

Every tool I know of (except for less) does syntax highlighting.

How have you disabled syntax highlighting in other tools?

what do you mean by every tool. I don't use less since log.. I only use moor as my primary driver sometime use BAT which has naive highlight never and never tried to disabled as rarely use. Can you guide me for moor how to do. I liked the highlight but wana know in case any file i like to disable or like to disable for all

ciscohack avatar Dec 02 '25 20:12 ciscohack

You can tell it some file is plain text, that will disable highlighting.

moor --lang=plain moor.sh

walles avatar Dec 02 '25 20:12 walles