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
|
||||
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user