View Single Post
Author Message
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-14-2019 , 13:44   Nano syntax highlighting easy
Reply With Quote #1

How to Highlight Pawn in nano:::
nano /usr/share/nano/c.nanorc
add "inc" "sma"


Code:
syntax "c" "inc" "sma" "\.(c(c|pp|xx|\+\+)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
__________________
DJEarthQuake is offline