Thursday, August 4, 2011

RE: Python, folding, ftplugin directories

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

No comments: