Skip to content

Syntax highlighting for javascript and typescript for nanorc.

Notifications You must be signed in to change notification settings

nousantx/javascript-nanorc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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