[gnome-builder] snippets: use tabs so they are converted to spaces if user requests so
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] snippets: use tabs so they are converted to spaces if user requests so
- Date: Fri, 9 Jan 2015 21:17:16 +0000 (UTC)
commit 34efce0729b3a6cc99c50faf36cc2a05db62ffbf
Author: Christian Hergert <christian hergert me>
Date: Fri Jan 9 13:17:10 2015 -0800
snippets: use tabs so they are converted to spaces if user requests so
Tabs get set to the default tab size if the users requests spaces instead.
Let's use them.
src/resources/snippets/python.snippets | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/resources/snippets/python.snippets b/src/resources/snippets/python.snippets
index cf871e5..7fee1dd 100644
--- a/src/resources/snippets/python.snippets
+++ b/src/resources/snippets/python.snippets
@@ -43,14 +43,14 @@ snippet from
from ${1} import $0
snippet def
def ${1:function}(${2}):
- $0
+ $0
snippet class
class ${1:Foo}(${2:object}):
- def __init__(self${3}):
- $0
+ def __init__(self${3}):
+ $0
snippet main
def main():
- $0
+ $0
if __name__ == "__main__":
- main()
+ main()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]