Thursday, September 27, 2012

Re: vim cannot indent awk correctly

On Thu, 27 Sep 2012, Peng Yu wrote:

> The following is the indented results of an awk file.
>
> ~/linux/test/awk/lang/operator/[$ cat main.awk
> BEGIN {
> }
>
> {
> }
>
> END {
> }
>
> I have the following vim installed (from MacVim). Is there a problem
> with vim? Or there is some problem with my installation?

There was a long discussion about improvements to the awk indentation
file on the vim-dev list. I don't know whether it resulted in a new
indent/awk.vim being included in Vim proper, but you should be able to
piece together the updated file from the conversation:

https://groups.google.com/d/msg/vim_dev/iiNK9EDpvdc/8ciJ2b8GF9IJ

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: