From 92b511577be7ee081a7f98f3ecf1f9d5afd735b2 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 27 Aug 2015 10:12:28 +0100 Subject: [PATCH] vim: fix fix and todo snippets --- vim/ultisnips/all.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/ultisnips/all.snippets b/vim/ultisnips/all.snippets index f5a9f46..71a46c2 100644 --- a/vim/ultisnips/all.snippets +++ b/vim/ultisnips/all.snippets @@ -29,13 +29,13 @@ def _parse_comments(s): flags,text = next(i).split(':', 1) assert(flags[0] == 'e') ctriple.append(text) - ctriple.append(indent) flags,text = next(i).split(':', 1) assert(len(flags) == 0) ctriple.append(text) - rv.append(ctriple) + ctriple.append(indent) + rv.insert(0, ctriple) elif 'b' in flags and 'f' not in flags: if len(text) == 1: rv.insert(0, (text,text,text, text, "")) -- 2.48.1