Syntax highlighting for javascript and typescript for nanorc.
- clone the repository:
git clone https://github.com/nousantx/javascript-nanorc.git
- include file:
nano ~/.nanorc
or
nano /etc/.nanorc
- Inside of
.nanorc
:
Let's say the configuration file is on /home/javascript-nanorc :
include ~/javascript-nanorc/js.nanorc
include ~/javascript-nanorc/ts.nanorc
- js
- mjs
- cjs
- json
- ts
- tsx