Skip to content

Instantly share code, notes, and snippets.

View cwillu's full-sized avatar

Carey Underwood cwillu

View GitHub Profile
if view.get_insert_spaces_instead_of_tabs():
tabsize = view.get_tab_width()
spaces = " " * tabsize
after = after.replace("\t",spaces)