Loading ...
Sorry, an error occurred while loading the content.

135337Re: fortran indentation

Expand Messages
  • Peng Yu
    Jan 5, 2013
    • 0 Attachment
      On Sat, Jan 5, 2013 at 2:51 PM, rudra <bnrj.rudra@...> wrote:
      > <F7> with code complete completes the blocks.
      > But, if you do not want to complete the block and want to write all, i.e. disabling <F7>, still for me, it indents do-end do etc.
      > This is my f90 specific directives in vimrc
      > " Fortran stuff
      > :let fortran_do_enddo=1
      > :let fortran_more_precise=1
      > :let fortran_free_source=1
      > :let fortran_have_tabs=1
      > filetype on
      > filetype plugin on
      > filetype indent on

      program hello
      print *, "Hello World!"
      end program hello

      <F7> indeed can complete a block. But it won't indent the above code
      like the following.

      program hello
      print *, "Hello World!"
      end program hello

      --
      Regards,
      Peng

      --
      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
    • Show all 8 messages in this topic