Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
MoonScript support for vim
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
colors
ftdetect
ftplugin
indent
syntax
README.md

README.md

moonscript-vim

Adds syntax highlighting and indent support for MoonScript in vim.

Install

Using Vundle

  1. Add the following to your .vimrc where other bundles are located:

     Plugin 'leafo/moonscript-vim'
    
  2. Run from command line:

     $ vim +PluginInstall +qall
    

Using pathogen

  1. Check out the repository into your bundle path:

     $ cd ~/.vim/bundle
     $ git clone git://github.com/leafo/moonscript-vim.git
    

Normal

  1. Check out the repository and copy the following to .vim/ directory or any other run time path, keeping their directory structure intact:

     syntax/moon.vim
     indent/moon.vim
     ftdetect/moon.vim
    

Thanks

Special thanks to the https://github.com/kchmck/vim-coffee-script project. I copied the syntax and indent code as a starting point.

You can’t perform that action at this time.