Bundleã§ghc-modããããæ¹æ³
Bundleã§ghc-modããããæ¹æ³
- Bundleãæã£ã¦ãã
$ cd ~/.vim $ git clone http://github.com/gmarik/vundle.git ~/.vim/vundle.git
- vimrcã«ã¤ã³ã¹ãã¼ã«ããããã®ã追å
vimrcã®ãããã«æ¸ã
set nocompatible filetype off set rtp+=~/.vim/vundle.git/ call vundle#rc() " for ghcmod.vim Bundle 'Shougo/vimproc' Bundle 'eagletmt/ghcmod-vim' " for neco-ghc Bundle 'ujihisa/neco-ghc' Bundle 'Shougo/neocomplcache' " for Syntastic Bundle 'scrooloose/syntastic' filetype plugin indent on
Bundleã®ä½¿ãæ¹ã«ã¤ãã¦ã¯ãã¡ãVim-users.jp - Hack #215: Vundle で plugin をモダンに管理する
- :BundleInstallå®è¡
vimã§ãã¡ã¤ã«ãã²ããã¦ã:BundleInstallå®è¡ã
ã¤ã³ã¹ãã¼ã«doneã¾ã§å¾
ã¤ã
- makeå®è¡
$ cd ~/.vim/bundle/vimproc $ make -f make_mac.mak
ã¡ãªã¿ã«macã ãããã¡ã¤ã«åãmake_mac.makã£ã¦ãªã£ã¦ããããã
- ghc-modæã£ã¦ãã
$ cabal install ghc-mod
- ghc-modã®ãã¹ãéã
- vimã§.hsãã¡ã¤ã«ã²ããã¦ã¿ã
ghc-mod 1.10.11ãæã£ã¦ããããã¨è¨ãããã®ã§ãcabal install ghc-mod-1.10.11ã¨ãã¹éãã®ãããç´ãã
å度vimã§.hsãã¡ã¤ã«ãéãã¨ã§ãã¦ãã¼ï¼ï¼ï¼ï¼