What I wanto to do is something like this: def myFoolDef() . fool = "myFoolTest" . for letter in fool: . . print letter + "\n" . print "I got an amazing fool sentence in a columns"
As you can see every level of indentatin is shown by a dot. And sometimes when coding with languages like Python this is really useful. Cheers 2010/7/19 Christian Brabandt <[email protected]>: > Hi Pablo! > > On Di, 06 Jul 2010, Pablo Giménez wrote: > >> I am trying to make more clear my indent levels when programming python. >> In many editors you can set to visualize indentation level in your >> text, at every level a character, usually a point is shown, so you >> onlu need to count the number of preceding points to know your indent >> level. >> I am already using cream-showinvisibles plugin: >> http://vim.sourceforge.net/scripts/script.php?script_id=363 >> But this one don't show indentation levels visually. > > I am not sure I understand correctly. I think you could use the signs > feature to display the numerical indent level by calculating the > indentlevel by using indent()/&sts for each line. > > <a little bit later…> > > Here is a sample plugin. This is a very rough version, that was ripped > off of one of my plugins (changesPlugin: > http://www.vim.org/scripts/script.php?script_id=3052) > > regards, > Christian > -- > Urlaub ohne Unterlaß wäre ein gutes Training für den Aufenthalt in > der Hölle. > -- George Bernard Shaw > > -- > 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 > -- Un saludo Best Regards Pablo Giménez -- 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
