Add customisation of signs

This commit is contained in:
Ben Jackson 2020-01-26 22:57:56 +00:00
commit b8d2b548d8
4 changed files with 64 additions and 5 deletions

View file

@ -52,9 +52,11 @@ class ProjectBreakpoints( object ):
self._next_sign_id = 1
# TODO: Change to sign_define ?
vim.command( 'sign define vimspectorBP text==> texthl=Error' )
vim.command( 'sign define vimspectorBPDisabled text=!> texthl=Warning' )
if not utils.SignDefined( 'vimspectorBP' ):
vim.command( 'sign define vimspectorBP text==> texthl=Error' )
if not utils.SignDefined( 'vimspectorBPDisabled' ):
vim.command( 'sign define vimspectorBPDisabled text=!> texthl=Warning' )
def ConnectionUp( self, connection ):