On 11/2/06, Adam Krolnik <[EMAIL PROTECTED]> wrote

Hello;

I have folding enabled to fold code when I edit a file. However I would
like to also be able
to view specific lines (via the option +<num> on the command line.)

Can you write code to detect this option and not fold the code ?

Please clarify what you ask:
(1) when vim is invoked with +num option, do not fold anything in the file, or
(2) when vim is invoked with +num option, fold all folds except the
fold containing the current line ?

Which one ?
Yakov

Reply via email to