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

Re: Folding Question...

Expand Messages
  • Luc Hermitte
    Hello, ... I d rather use ftplugins (or any similar mechanism) that messing my .vimrc with autocommands. However, if you want to use the same definition with
    Message 1 of 3 , Feb 1, 2005
    • 0 Attachment
      Hello,

      * On Tue, Feb 01, 2005 at 07:23:30AM -0700, Furash Gary <furashg@...> wrote:
      > The behavior I want is, if the file is type outline (otl), then
      > set foldmethod=expr
      > (necessary for vimoutliner)
      > else, if the file is a java, beanshell, etc, then
      > set foldmethod=syntax
      > syn region cBlockFold start="{" end="{" transparent fold
      >
      > The advice I've received from the samples is to put this stuff in the
      > _vimrc, but I'm not sure that's the right place.

      I'd rather use ftplugins (or any similar mechanism) that messing my
      .vimrc with autocommands. However, if you want to use the same
      definition with many filetypes, an autocommand might be simplier.

      --
      Luc Hermitte
      http://hermitte.free.fr/vim/
    Your message has been successfully submitted and would be delivered to recipients shortly.