Skip to content

Commit

Permalink
Snippet fix - closes #90
Browse files Browse the repository at this point in the history
  • Loading branch information
pearofducks authored Feb 9, 2020
1 parent 19e6ae0 commit 8da127b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UltiSnips/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def to_snippet(document):
snippet.insert(0, '%s:' % (document['module']))
else:
snippet.insert(0, '%s:%s' % (document['module'], ' >' if len(snippet) else ''))
snippet.insert(0, 'snippet %s "%s" b' % (document['module'], document['short_description']))
snippet.insert(0, 'snippet %s "%s" b' % (document['module'], document['short_description'].replace('"', '')))
snippet.append('')
snippet.append('endsnippet')
return "\n".join(snippet)
Expand Down

0 comments on commit 8da127b

Please sign in to comment.