あいつの日誌β

働きながら旅しています。

vim

Vim で E539: Illegal character <j>

vim

あらすじ NeoBundle 'elixir-lang/vim-elixir' したら E539: Illegal character <j>: formatoptions+=croqlj とか言われた 解決策 こちらにどうすればいいのか書いてあるので Error in .vimrc · Issue #1 · pbrisbin/vim-config · GitHub 以下のように黙らせる </j>…

vim syntax でハイライトされるように set filetype する

何故か repository にある bin/do_something.sh の先頭行(シバン)が '#!/usr/bin/env node' と書かれていて vim の syntax が動かない場面に遭遇しました。 そういう時は vim のコマンドラインモードで flietype を javascirpt に指定してあげればよいです。…

scrooloose/syntastic で go を書いているとファイルを保存するたびに重い件

vim

あらすじ なんとなく重い気がしてたんだけどやっぱり重かった... 解決策 - let g:syntastic_go_checkers = ['go'] # 何も指定しないとこうなっている + let g:syntastic_go_checkers = ['golint'] どうやら scrooloose/syntastic で go 言語の syntax checke…