syntasticã§vimããã°ã
åæåãã¦è²ã 空ã£ã½ãªã®ã§è¯ãæãã®vimè¨å®ããªããã¨æ¢ãã¦ããè¯ãããªãã©ã°ã¤ã³ãè¦ã¤ããã
â syntastic
https://github.com/scrooloose/syntastic
Syntaxãã§ãã¯ãè¡ãªã£ã¦ããããã®ã§ãè¤æ°ã®è¨èªã«å¯¾å¿ãã¦ãã
ãã Syntaxãã§ãã¯ã®ããã«ãã§ãã¯ãã¼ã«ãjsãªãJSLintã¨ãå
¥ããªããã ãã£ã½ãã
ä¸è¨ãã¼ã¸ã®ä¸ã®ã»ãã«è²ã
ã¤ã³ã¹ãã¼ã«æ¹æ³ãæ¸ãã¦ããã©ãã
vundleãå
¥ãã¦ãã.vimrcã«ä¸è¨ã®3è¡è¿½å ããã ãã§OKã£ã½ãã
" Syntax Bundle 'tpope/vim-pathogen' Bundle 'scrooloose/syntastic' call pathogen#infect() 追å å¾ã¯BundleInstall!!
PHPã§ç¢ºèªããã¨ãããä¿åæã«è¯ãæãã«ã¨ã©ã¼æ¤åºãã¦ããã¦ãã
ãªããããç¥ããªãã£ãã®ãã¨èªåãåãè©°ãããã
ã³ãã³ã
â ä¿åæã§ã¯ãªããæåã§Syntaxãã§ãã¯ãããã¨ã
:SyntasticCheck
â Syntaxãã§ãã¯çµæãä¸è¦§è¡¨ç¤ºãããã¨ã
:Errors
ä»ã«ãè²ã ããã¿ããã ãã©ãç¾ç¶ããã§å¹¸ããæãã¦ããã