forked from VimPlug/jedi-vim
echo_highlight: escape quotes in msg
This commit is contained in:
@@ -77,7 +77,8 @@ def no_jedi_warning():
|
|||||||
|
|
||||||
|
|
||||||
def echo_highlight(msg):
|
def echo_highlight(msg):
|
||||||
vim_command('echohl WarningMsg | echom "%s" | echohl None' % msg)
|
vim_command('echohl WarningMsg | echom "{}" | echohl None'.format(
|
||||||
|
msg.replace('"', '\\"')))
|
||||||
|
|
||||||
|
|
||||||
import vim
|
import vim
|
||||||
|
|||||||
Reference in New Issue
Block a user