Re: how to do code beautifier
- Mike Hansen wrote:
>> [mailto:vim_use@...] On Behalf Of Adwin WijayaActually, what it said is not that "Vim cannot beautify code" but that there
>> Hello :)
>> I am using gvim 7.0 (for about 1.5 week) and i have a question on how
>> to do code beautifier with gvim ?
>> I read the help :help beautify, it said vim doesnt have that option.
is no 'beautify' setting that can be set TRUE or FALSE anymore: IIUC, that
setting has been obsoleted by more advanced setting such as those about which
you can read in the help at:
and maybe others.
>> so how could i do that with vim ? Is there the plugins for thatIIUC, HTML Tidy is not "just" a code beautifier, but rather a syntax checker,
>> (especially code beautifer for html, php, javascrpt, css and ruby) ?
>> thank you
> I suspect that you'll need to call outside programs that beatify your
> code. For example, I have a key mapped to call perltidy. map <silent>
> <F7> :%!perltidy<CR>
> ruby. You'll probably need to google for programs that do that for
which can even correct some errors (if you tell it to).
There was a young lady named Twiss
Who said she thought fucking a bliss,
For it tickled her bum
And caused her to come
.siht ekil gniyl ylbatrofmoc elihW
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php