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

Re: Folding with shell syntax

Expand Messages
  • Henrik Johansson
    On 2004-11-30, at 04.11, Gary Johnson wrote: ... Ok, appart from the function folding bug i can get it to work now, i think that enabling syntaxfolding
    Message 1 of 9 , Nov 30, 2004
      On 2004-11-30, at 04.11, Gary Johnson wrote:

      <snip>

      >
      > started vim with this command:
      >
      > vim -N -u NONE syn_test.sh
      >
      > and executed these commands within vim:
      >
      > set foldmethod=syntax
      > let g:sh_fold_enabled=1
      > so $VIMRUNTIME/syntax/sh.vim

      Ok, appart from the function folding bug i can get it to work now, i
      think that enabling syntaxfolding should be as simple as enabling
      indentfolding, just setting set foldmethod=syntax in your vimrc file
      should give you folding for all syntaxes that supports it.

      The other two step should not be necessary, should they?

      Just a thought, i'm not questioning you Gary ;)

      Regards
      Henrik
    Your message has been successfully submitted and would be delivered to recipients shortly.