Use expression completion for watch and set
This commit is contained in:
parent
94242fa532
commit
f2d407256e
3 changed files with 16 additions and 8 deletions
|
|
@ -235,7 +235,9 @@ function! vimspector#AddWatch( ... ) abort
|
|||
return
|
||||
endif
|
||||
if a:0 == 0
|
||||
let expr = input( 'Enter watch expression: ' )
|
||||
let expr = input( 'Enter watch expression: ',
|
||||
\ '',
|
||||
\ 'custom,vimspector#CompleteExpr' )
|
||||
else
|
||||
let expr = a:1
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue