#206 Wrong/unnecessary syntax highlighting for text files

Open
opened 2 months ago by ohnonot · 1 comments
ohnonot commented 2 months ago

This file is being highlighted as if it was a coding language. I would like to switch that off, is it possible?

I would prefer to not rename the file to something like cbbl.txt etc.

I tried using .gitattributes, but I'm not sure if that even applies to gogs.

Have not found existing issues or documentation that actually tell me how, not here and not on github's gogs project.

[This file](https://notabug.org/ohnonot/fortune-mod-cbbl/src/master/cbbl) is being highlighted as if it was a coding language. I would like to switch that off, is it possible? I would prefer to __not__ rename the file to something like `cbbl.txt` etc. I tried [using .gitattributes](https://github.com/github/linguist#using-gitattributes), but I'm not sure if that even applies to gogs. Have not found existing issues or documentation that actually tell me how, not here and not on github's gogs project.
ohnonot commented 2 months ago
Poster

Looking at it again, it seems like all code is being syntax highlighted nonsensically, whether it's in its own file or as part of the README etc.

I'm also seeing this in other notabug repos.
It might have something to do with file extensions.

Can I not disable synatx highlighting partially or completely?

Looking at it again, it seems like all code is being syntax highlighted nonsensically, whether it's in its own file or as part of the README etc. I'm also seeing this in other notabug repos. It might have something to do with file extensions. Can I not disable synatx highlighting partially or completely?
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.