æè¿ççã«JavaScriptãæ¸ãæ©ä¼ãå¢ããã®ã§vimã§æ´å½¢ãã¼ã«æ¬²ãããªã¨æã£ã¦ãã¾ããã ã§ãYappoããã®JavaScript::Swellã使ã£ã¦ã¿ããã¨ã«ãã¾ããã CPANã§ã¤ã³ã¹ãã¼ã«ãã¦ãããªã©ããã¼ä½ã£ã¦ ~/bin/js_swell.pl #!/usr/bin/perl use strict; use JavaScript::Swell; my $data; while (<>) { $data .= $_; } close IN; print JavaScript::Swell->swell($data); .vimrcããªããã«ãããªé¢¨ã«æ¸ããã map ,jt <Esc>:%! ~/bin/js_swell.pl<CR> ãããªã³ã¼ãã var i=0;if(i++){var a=-1;} vimãã:,jtã§ãããªé¢¨ã«ãªãã¾ãã var i = 0; i
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}