Skip to content

Instantly share code, notes, and snippets.

@ckarnell
Created June 27, 2017 13:58
Show Gist options
  • Save ckarnell/0dad4ccd72efd900dac9505536baeb9b to your computer and use it in GitHub Desktop.
Save ckarnell/0dad4ccd72efd900dac9505536baeb9b to your computer and use it in GitHub Desktop.
Replacing syntastic with neomake for linting
" Step 1: Install this: https://github.com/neomake/neomake
" Step 2: Put these in your .vimrc:
" Neomake settings
autocmd! BufWritePost,BufEnter * Neomake
let g:neomake_javascript_enabled_makers = ['eslint']
let g:neomake_scss_enabled_makers = ['scss_lint']
let g:neomake_python_enabled_makers = ['pylint', 'python']
" Step 3: Delete syntastic stuff after you've verified neovim works
" Optional Step 4:
" Neomake doesn't open the location list like syntastic did with default settings.
" If you want easy access to the list using <leader>lo or whatever
" shortcut, add the following line to your .vimrc:
nnoremap <leader>lo :lopen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment