#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
| void ofApp::update() { | |
| std::stringstream strm; | |
| strm << "FPS: " << round(ofGetFrameRate()); | |
| ofSetWindowTitle(strm.str()); | |
| } |