Thursday, August 4, 2011

Re: Python, folding, ftplugin directories

Thanks for the reply... I tried the directory move, and it still
doesn't work... any other advice?

On Thu, Aug 4, 2011 at 6:08 AM, John Beckett <johnb.beckett@gmail.com> wrote:
> Matthew Pettis wrote:
>> I'm editing python files, and want to enable folding.  Found
>> the script here to help me with that:
>> http://www.vim.org/scripts/script.php?script_id=1494
>>
>> I put this file at:
>> ~/.vim/ftplugin/python_editing.vim
>
> I don't know, but you might try moving the file to
>  ~/.vim/after/ftplugin/python_editing.vim
>
> (may need to create these directories).
>
> I don't use folding a lot, but in Python, when I do I just enter:
>
>  :set fdm=indent
>
> which works well enough (although it does not fold doc strings).
>
> John
>
> --
> 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
>

--
Do not seek to follow in the footsteps of the wise men of old. Seek
what they sought.

- Matsuo Munefusa ("Basho")

--
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

No comments:

Post a Comment