/moonplus-vim

MoonScript support for vim

Primary LanguageVim Script

moonplus-vim

Adds syntax highlighting and indent support for MoonScript+ syntax file with extension '.mp' in vim.

Install

Using Vundle

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

     Plugin 'pigpigyyy/moonplus-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/pigpigyyy/moonplus-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/mp.vim
     indent/mp.vim
     ftdetect/mp.vim
    

Thanks

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