2011/6/15 Martin Tarenskeen <m.tarensk...@zonnet.nl>

>
>
> On Wed, 15 Jun 2011, Graham Percival wrote:
>
>  Mixing indentation styles is not a great idea, and in my
>> experience of python code documentation and examples online, the
>> 4-space indent rule from PEP-8 is almost universally followed.
>> Implementation notes
>>
>
> Not that I contribute much python code to the Lilypond project, but I have
> a question anyway:
>
> I use vim for my own python code, and in my .vimrc file I have
>
> set autoindent
> set smartindent
> filetype plugin indent on
>
> I now write some pythoncode automatically tabs are used for indentation.
> How can I change this behaviour, so that automatically 4-space indentation
> is used. Can/should I change something in my .vimrc file ?
>
>

http://stackoverflow.com/questions/234564/tab-key-4-spaces-and-auto-indent-after-curly-braces-in-vim
http://vim.wikia.com/wiki/Converting_tabs_to_spaces
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to