使用Eslint时可悬挂Neomake
我一直在遵循以下两个教程来尝试设置eslint和Neomake: 用Neomake和Neovim整理代码 用Neovim和Neomake整理代码-ESLint版 所以我有以下最低限度 init.vim call plug#begin('~/.vim/plugged') Plug 'neomake/neomake' call plug#end() autocmd! BufWritePost,BufEnter * Neomake let g:neomake_verbose=3 let g:neomake_open_list = 2 let g:neomake_javascript_enabled_makers = ['eslint'] " neomake nmap <Leader><Space>o :lopen<CR> " open location window nmap <Leader><Space>c :lclose<CR> " close location window nmap <Leader><Space>, :ll<CR> " go to current error/warning nmap …