Added REPL support

Closes #9
Closes #12
This commit is contained in:
baabelfish 2016-02-07 18:03:56 +02:00
commit fd587228d0
5 changed files with 90 additions and 1 deletions

View file

@ -36,6 +36,10 @@ command! NimEdbIgonore :call features#debugger#ignore()
command! NimEdbContinue :call features#debugger#continue()
command! NimEdbToggleBP :call features#debugger#togglebp()
command! NimREPL :call features#repl#start()
command! NimREPLEvalFile :call features#repl#send(getline(0, line("$")))
command! -range NimREPLEval :call features#repl#send(getline(getpos("'<")[1], getpos("'>")[1]))
nnoremap <buffer> <c-]> :NimDefinition<cr>
nnoremap <buffer> gd :NimDefinition<cr>
nnoremap <buffer> gt :NimInfo<cr>