Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 517 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 517 Bytes

javascript-nanorc

Syntax highlighting for javascript and typescript for nanorc.

Installation

  1. clone the repository:
git clone https://github.com/nousantx/javascript-nanorc.git
  1. include file:
nano ~/.nanorc

or

nano /etc/.nanorc
  1. Inside of .nanorc:

Let's say the configuration file is on /home/javascript-nanorc :

include ~/javascript-nanorc/js.nanorc
include ~/javascript-nanorc/ts.nanorc

Syntax Highlighting Support

  • js
  • mjs
  • cjs
  • json
  • ts
  • tsx