Created
June 27, 2017 13:58
-
-
Save ckarnell/0dad4ccd72efd900dac9505536baeb9b to your computer and use it in GitHub Desktop.
Replacing syntastic with neomake for linting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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