Page 1 of 1

Nano syntax highlighting easy

Posted: Tue Oct 06, 2026 12:25 am
by Archive-Poster
How to Highlight Pawn in nano:::
nano /usr/share/nano/c.nanorc
add "inc" "sma"

Code: Select all

syntax "c" "inc" "sma" "\.(c(c|pp|xx|\+\+)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"