nano syntax highlighting not working for all languages
- by Dejan
I have a funny situation where I am unable to add custom highlighting definitions to my nano text editor.
The funny thing is that the predefined work like a charm and can be edited.
But I have created a new one for js with
$ sudo touch js.nanorc
$ sudo nano js.nanorc
my current js.nanorc looks like this:
syntax "JavaScript" "\.js$"
color…