From 84e310a28f66716e19b556b832f50cc75defe7de Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 23 Mar 2019 23:15:13 +0000 Subject: [PATCH] Fix Python 3 issue in todo snippet --- UltiSnips/all.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/all.snippets b/UltiSnips/all.snippets index e2700c8..1a06dcb 100644 --- a/UltiSnips/all.snippets +++ b/UltiSnips/all.snippets @@ -5,7 +5,7 @@ Kenneth Benzie (Benie) endsnippet global !p -comment=vim.current.buffer.options['commentstring'].strip() +comment=vim.current.buffer.options['commentstring'].decode('utf-8').strip() def commentbefore(): commentbefore = comment[0:comment.find('%s')].strip()