Results 1 to 1 of 1
Okay, Im trying to fix nano syntax highlightning.
First I made this on my server running ubuntu-server:
Nano Syntax Highlighting
I sloved it with making an own .nanorc in my ...
- 05-13-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 18
Nano Syntax Highlightning
Okay, Im trying to fix nano syntax highlightning.
First I made this on my server running ubuntu-server:
Nano Syntax Highlighting
I sloved it with making an own .nanorc in my home folder and add code from that homepage to get higlighting.
Then I want to get it on my desktop computer witch running openSuSE 10.2
But it don't work. It really hates me. But when I do the same in openSuSE it dont works...
I got this error:
Inside the .nanorc file I have this:Code:elis@Elis-Dator:~> nano fil.php Error in /home/elis/.nanorc on line 1: Does not understand command "syntax" Error in /home/elis/.nanorc on line 2: Does not understand command "color" Error in /home/elis/.nanorc on line 3: Does not understand command "color" Error in /home/elis/.nanorc on line 4: Does not understand command "color" Error in /home/elis/.nanorc on line 5: Does not understand command "color" Error in /home/elis/.nanorc on line 6: Does not understand command "color" Error in /home/elis/.nanorc on line 7: Does not understand command "color" Error in /home/elis/.nanorc on line 8: Does not understand command "color" Error in /home/elis/.nanorc on line 9: Does not understand command "color" Error in /home/elis/.nanorc on line 10: Does not understand command "color"
Code:syntax "php" "\.php[2345s~]?$" color brightblue "(.*)\(" color blue "\$[a-zA-Z_0-9$]*|[=!<>]" color green "(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|@|while)\s" color green "[.,{}();]" color red "('.*')|(\".*\")" color brightyellow "(#.*|//.*)$" color brightyellow start="/\*" end="\*/" color brightblue "(<\?(php)?|\?>)" color white start="\?>" end="<\?(php)?"


Reply With Quote