Skip to content

peecky/vim-node-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

vim-node-syntax

additional JavaScript/TypeScript syntax highlight for Node.js

How to use

using pathogen

Install pathogen. Then download or git clone this repository to your bundle directory:

cd ~/.vim/bundle && \
git clone [email protected]:peecky/vim-node-syntax.git

manual install

Download syntax files to somewhere. Then add the followings to your .vimrc

autocmd Syntax javascript source ~/.vim/node/javascript.vim
autocmd Syntax typescript source ~/.vim/node/typescript.vim

where ~/.vim/node/ is the path you downloaded the files.

TypeScript

Because the syntax of TypeScript is not pre-installed to vim, you should also install leafgarland/typescript-vim.

About

additional JavaScript/TypeScript syntax highlight for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published