Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Tabs inside replacements should be replaced by the configured indentation #3
even though the plugin's indentation is set to " " (two spaces).
Adding "after = after.replace('\t', indent)" to init.py:expand_zencode(self, window)" would suffice to correct this.
In an ideal world, the indentation would be picked up from the editor's settings rather than configured separately for the plugin.
Will grab the setting, although I don't think this is the per-editor setting. Still, better this than having to edit a settings file and restart gedit each time I switch to a different file with a different indentation scheme.
I just committed this bit of code to init.py http://gist.github.com/306749
That should be grabbing the current document's tab settings and using that instead of the general default. Let me know if you still have problems.
Again, thanks so much for these reports. Keep em coming if you can.