diff options
author | mattn <mattn.jp@gmail.com> | 2012-05-29 11:21:51 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2012-05-29 11:21:51 +0900 |
commit | c1be3dbafdfef0ccb0ed3c569bcc493791c8aa87 (patch) | |
tree | bb70e5f8de383086bc0052eb90ae51fe16d03b32 /template | |
parent | dc04a64c96c8d40acaba0d0739c8ee801eb9bbf6 (diff) | |
download | vim-sonictemplate-c1be3dbafdfef0ccb0ed3c569bcc493791c8aa87.tar.gz vim-sonictemplate-c1be3dbafdfef0ccb0ed3c569bcc493791c8aa87.tar.bz2 vim-sonictemplate-c1be3dbafdfef0ccb0ed3c569bcc493791c8aa87.zip |
use tab.
Diffstat (limited to 'template')
-rw-r--r-- | template/c/base-main-gtk.c | 8 | ||||
-rw-r--r-- | template/javascript/snip-jquery-yql.js | 4 | ||||
-rw-r--r-- | template/python/base-class.py | 4 | ||||
-rw-r--r-- | template/python/snip-class.py | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/template/c/base-main-gtk.c b/template/c/base-main-gtk.c index 6944e21..1a4f18e 100644 --- a/template/c/base-main-gtk.c +++ b/template/c/base-main-gtk.c @@ -6,13 +6,13 @@ main(int argc, char* argv[]) { gtk_init(&argc, &argv); - window = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(window), "helloworld"); - g_signal_connect(G_OBJECT(window), "delete-event", gtk_main_quit, window); + window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_title(GTK_WINDOW(window), "helloworld"); + g_signal_connect(G_OBJECT(window), "delete-event", gtk_main_quit, window); {{_cursor_}} - gtk_widget_show_all(window); + gtk_widget_show_all(window); gtk_main(); return 0; diff --git a/template/javascript/snip-jquery-yql.js b/template/javascript/snip-jquery-yql.js index e5a800b..17245a0 100644 --- a/template/javascript/snip-jquery-yql.js +++ b/template/javascript/snip-jquery-yql.js @@ -1,5 +1,5 @@ $.getJSON("http://query.yahooapis.com/v1/public/yql?callback=?", { - q: "{{_cursor_}}", - format: "json" + q: "{{_cursor_}}", + format: "json" }, function (data) { }); diff --git a/template/python/base-class.py b/template/python/base-class.py index a606982..9ea3b27 100644 --- a/template/python/base-class.py +++ b/template/python/base-class.py @@ -3,5 +3,5 @@ """ class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}: - def __init__(self): - {{_cursor_}} + def __init__(self): + {{_cursor_}} diff --git a/template/python/snip-class.py b/template/python/snip-class.py index 9ed48aa..c8ff23c 100644 --- a/template/python/snip-class.py +++ b/template/python/snip-class.py @@ -1,3 +1,3 @@ class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}: - def __init__(self): - {{_cursor_}} + def __init__(self): + {{_cursor_}} |