GitHub - leafo/moonscript-vim: MoonScript support for vim (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Repository files navigation
moonscript-vim
Adds syntax highlighting and indent support for MoonScript in vim.
Install
Using Vundle
- Add the following to your
.vimrc
where other bundles are located:
Plugin 'leafo/moonscript-vim'
- Run from command line:
$ vim +PluginInstall +qall
Using pathogen
- Check out the repository into your bundle path:
$ cd ~/.vim/bundle
$ git clone git://github.com/leafo/moonscript-vim.git
Normal
- 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.