Tuesday, April 3, 2012

Re: indenting python docstring in vim

On Apr 3, 2012, at 9:47 PM, Zvezdan Petkovic wrote:

> I can't see why this would work for me and not for you.

I'll take that back.
I can see why now.

I do have a lot of customizations for my Python things.

Since I rewrote the official Python syntax file for 7.3, I have a development version in .vimrc/syntax/python.vim to start with. I doubt that's an issue since it's pretty much the same as the one distributed with Vim except one experimental syntax highlight someone asked me to try adding.

Then I have .vimrc/ftplugin/python.vim.
That file is setting some indent g:* variables.
So that could be an issue.

Finally, I have an autocmd line for Python in .vimrc.

So, I moved my .gvimrc, .vimrc, and .vim away and I see what you are talking about. I get bad indent too.

Now, I'll dig into this and find which setting fixes the issues you see by gradually returning things in place. I'll narrow this down this evening probably.

Zvezdan

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