Skip to content

glanotte/vim-jasmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

VIM - Jasmine

This is a syntax highlighting plugin for the Jasmine JavaScript testing framework. I extracted most of this from thomd's VIM-Jasmine plugin which is wonderful, but overkill for what I was looking for. I made a few modifications to suit my preferences.

This plugin contributes to vim-polyglot language pack.

Installation

With Vundle

Add:

Bundle 'glanotte/vim-jasmine'

To your .vimrc and run BundleInstall from within vim or vim +BundleInstall +qall from the command line

cd ~/.vim/bundle
git clone https://github.com/glanotte/vim-jasmine.git

Usage

By default this syntax is used with all *_spec.js and *Spec.js files. If you don't follow this norm use something like:

autocmd BufReadPost,BufNewFile *_foo.js set filetype=jasmine.javascript syntax=jasmine

In your ~/.vimrc

Dependencies

This assumes that you are using some other javascript plugin for syntax highlighting and it attaches itself onto the JavaScriptAll cluster.

About

VIM Syntax Highlighting for Jasmine Specs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •