Editing Nano
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
== Syntax highlight == | == Syntax highlight == | ||
Nano can | Nano can extended to highlight octave code. The following can be added to {{File|~/.nanorc|<pre> | ||
# Octave syntax colors | # Octave syntax colors | ||
syntax "octave" "\.m$" "\.octaverc$" | syntax "octave" "\.m$" "\.octaverc$" | ||
Line 17: | Line 17: | ||
# embraced | # embraced | ||
color brightred start="\(" end="\)" # this line needs to be fixed to work properly in all cases | |||
color brightred start="\(" end="\)" | |||
color blue start="\[|\{" end="\]|\}" | color blue start="\[|\{" end="\]|\}" | ||