Raised This Month: $213 Target: $400

Nano syntax highlighting easy

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Jan 2014
Location: All over the place.
Old 03-14-2019 , 14:44   Nano syntax highlighting easy
Reply With Quote #1

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

syntax "c" "inc" "sma" "\.(c(c|pp|xx|\+\+)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty a beauty cold and austere, like that of sculpture..." -Bertrand Russell
DJEarthQuake is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 06:32.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode