request: syntax highlighting for .txt files
Question
I just wanted to ask if changes for .txt files should look like this?
Is the issue those "No newline at end of file" comments? Just clarifying since idk the original state of ur text file
No not really, just the fact it has no colors or nothing, just black and white makes it hard to read
oh so u want text highlighting for .txt edits then?
Yes sir, thats sort of what I am going with, if there is a need
im gonna reword the issue to make it more clear, tbh im not sure what makes sense for a text file, i feel like most editors keep it 1 color.
Here is the file that'd need an edit tho i think: https://github.com/sst/opencode/blob/dev/packages/opencode/parsers-config.ts
@rekram1-node I'm experiencing the same issue with .less and .vim files. When editing these file types, the diff view syntax highlighting does not work.
Screenshot attached showing the issue with a .vim file:
This seems to be a general issue with file types that don't have built-in syntax highlighting support.
I can repro this also with the ghosty terminal. Thanks for the support.