Skip to content

Nymphium/syntastic-moonscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syntastic-Checker for MoonScript

As the name says, Syntastic-Checker for MoonScript

Intro

It's easy to install by using NeoBundle.

...
"in vimrc

NeoBundle 'nymphium/syntastic-moonscript', {
\	'depends' : ['scrooloose/syntastic'],
\	'build' :  {
\		'linux' : 'make neobundle'
\		}
\	}

" `make' provides symlink 'mooncheck' to '$HOME/bin'
" or add directorypath to `make':
"...
" \	'build' :  {
" \		'linux' : 'make link BINPATH=path/to/bin'
" \		}
"...

" if you use Neovim then pass a variable `VIM=nvim`
"...
\	'build' :  {
\		'linux' : 'make neobundle VIM=nvim'
\		}
"...

let g:syntastic_moon_checkers = [..., 'moonc', 'mooncheck', ...]
let g:syntastic_moon_mooncheck_args = [.....]

or make

$ git clone https://github.com/Nymphium/syntastic-moonscript
$ cd syntastic-moonscript
$ make

Dependencies

Options

same as luacheck

Neovim

If you use Neovim, please symlink ~/.vim/syntax_checkers to ~/.config/nvim.

License

WTFPL v2