Fix Python 3 issue in todo snippet
This commit is contained in:
parent
ce6ec3d410
commit
84e310a28f
@ -5,7 +5,7 @@ Kenneth Benzie (Benie) <k.benzie83@gmail.com>
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
global !p
|
global !p
|
||||||
comment=vim.current.buffer.options['commentstring'].strip()
|
comment=vim.current.buffer.options['commentstring'].decode('utf-8').strip()
|
||||||
|
|
||||||
def commentbefore():
|
def commentbefore():
|
||||||
commentbefore = comment[0:comment.find('%s')].strip()
|
commentbefore = comment[0:comment.find('%s')].strip()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user