Vim 㧠Dart ã®å®è¡ç°å¢ãæ¸ãã¦ã¿ã
æè¿ãä½ãã¨ããç®ã«ãã Dart ãªã®ã§ããããã¤ã®éã«ã Windows ç¨ã® SDK ãé
å¸ããã¦ããã®ã§ç°¡åã« Vim ã§ã³ã¼ãã£ã³ã°ã§ããããã«ãã¦ã¿ã¾ããã
å®è¡å¦çããã®ã¯ãã馴æã¿ã® quickrun.vim ã§ãã
[ã¹ãããã]
ãã£ãããªã®ã§ neocomplcache-snippets-complete ã®ç°¡åãªã¹ãããããã¡ã¤ã«ãä½æãã¾ããã
NeoBundle "git://github.com/osyo-manga/neocomplcache-snippets-complete-dart.git"
[syntax/dart.vim]
Dart ã® syntax ã¯ãã¡ãã使ããã¦ãããã¾ããã
NeoBundle "git://github.com/vim-scripts/Dart.git"
[vimrc]
" dart.exe ã®ãã¹ let s:dart_cmd = "D:/bin/dart.exe" " quickrun.vim ã®è¨å® let g:quickrun_config.dart = { \ "command" : s:dart_cmd, \} augroup dart_group " ä¸è¨ã® Dart ã® syntax ãå®ç¾©ãã¦ãã Vim script ã 㨠" shiftwidth=2 expandtab " ãè¨å®ãããããã«ãªã£ã¦ããã®ã§èªåç¨ã«å¤æ´ autocmd BufReadPost *.dart set skhiftwidth=4 noexpandtab augroup END
ã¨ããããã¿ãæ¸ããã®ã§ãããid:USAGI-WRP ãããã¨ã£ã¨ã¨ quickrun.vim ã¸ã¨çµã¿è¾¼ãã§ãã¾ããã
quickrun.vim ã使ç¨ããå ´åã¯ã好ããªæ¹ãã©ããã