LoginSignup
0
1

More than 5 years have passed since last update.

備忘録_neovimでxoを使用する

Last updated at Posted at 2017-01-05

xoを導入したのでメモ

neomakeの導入

dein.toml
[[plugins]]
repo = 'neomake/neomake'

init.vimに設定を追加

init.vim
"================================================
"linter setting
"================================================


" 保存時に実行
autocmd! BufWritePost * Neomake

" eslint setting
let g:neomake_javascript_enabled_makers = ['xo']

対象プロジェクトにてxoを導入

$ npm i -D xo

これでエディタ上で保存した際にxoが走ってくれる

以上

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1