Has anyone got (or can point in the direction of) a nanorc file that contains syntax highlighting for C# and/or ASP.Net?
|
|
I don't know of an existing highlight for C# in Nano but you could write your own. The syntax for syntax highlighting is pretty simple. Here's the one for Java (which will be very similar to a C# syntax - mainly just different keywords):
That's sitting in Edit: for ASP.NET you could just clone the HTML one and alter the syntax slightly to handle ASP.NET tags. It won't be perfect (it won't handle |
||||
|
|
Replicating my answer at: http://unix.stackexchange.com/questions/454/nano-syntax-highlighting-for-c-and-or-asp-net/1252#1252 Using the Java example from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting, you can try to add something like the following into your ~/.nanorc:
|
|||
|
|