Use the same version as the current macvim
This commit is contained in:
parent
de3c513b24
commit
d458d06bc5
12 changed files with 733 additions and 4 deletions
|
|
@ -70,7 +70,8 @@ class CodeView( object ):
|
|||
frame[ 'source' ][ 'path' ] ) )
|
||||
return False
|
||||
|
||||
self._window.cursor = ( frame[ 'line' ], frame[ 'column' ] )
|
||||
# SIC: column is 0-based, line is 1-based in vim. Why? Nobody knows.
|
||||
self._window.cursor = ( frame[ 'line' ], frame[ 'column' ] - 1 )
|
||||
|
||||
self._signs[ 'vimspectorPC' ] = self._next_sign_id
|
||||
self._next_sign_id += 1
|
||||
|
|
|
|||
|
|
@ -213,6 +213,7 @@ def UserMessage( msg, persist=False ):
|
|||
cmd = 'echom' if persist else 'echo'
|
||||
for line in msg.split( '\n' ):
|
||||
vim.command( "{0} '{1}'".format( cmd, Escape( line ) ) )
|
||||
vim.command( 'redraw' )
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue