Open dh-nunes opened 8 years ago
I'm not in a position to test right now, but quickly looking through the files doesn't reveal anything wrong. I'll take a better look once I get more of a chance.
Everything seems to be the same related to rst/py. If needed I'll post screenshots here.
I'm sorry, do you mean that rust and python are or aren't working?
While we're discussing, what operating system are you using and what version of nano?
Restructured text (.rst) and python are working. I'm on ubuntu 14.04 and nano is version 2.2.6 (this is the system version, maybe that is the problem?).
Forget what I meant :p
I'm unable to replicate this on Ubuntu 14.04, nano version 2.2.6.
Can you please post what your .nanorc file looks like, as well as the csharp.nanorc and markdown.nanorc? Also, could you please tell me what the names of the files that won't highlight are?
That all looks right.
Could you humor me and remove everything from .nanorc except for the csharp and markdown include?
Yup, everything is now pretty. Is something overwriting it? (It worked with just the two includes in .nanorc)
Not sure. I'll take a look at it more tomorrow.
Markdown syntax highlighting throwing error.
Error in /usr/local/share/nano/markdown.nanorc on line 32: Command ""(^|[[:space:]])\-\-($|[[:space:]])"" not allowed in included file
I ran curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
on my Mac running Yosemite and then opened an existing Markdown file.
Somehow, this
# misc
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
got split during install or some other interference into this
# misc
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}"
"(^|[[:space:]])\-\-($|[[:space:]])"
@iHarshad pull requests welcome :)
@scopatz, I didn't make a pull request as the code in the repo is correct. I think after the install, I must have entered some command in one of the many terminal prompts I had opened at the time which changed the said line.
Ahh Ok
As the title says, I'm getting no highlighting in either markdown and c# (so far I've checked python, rst, md and c#). I cloned the repo and then added all the languages to the .nanorc file as per the instructions.