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

55191Re: Folding with shell syntax

Expand Messages
  • Henrik Johansson
    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
    • Show all 9 messages in this topic