mirror of
https://github.com/hanzoai/hanzo.vim.git
synced 2026-11-09 15:19:11 +00:00
13 lines
294 B
Plaintext
13 lines
294 B
Plaintext
Before:
|
|
let g:input = {'prompt': 'Do something.'}
|
|
call neural#config#Load()
|
|
|
|
After:
|
|
unlet! g:input
|
|
|
|
Given lua(An empty Lua file):
|
|
Execute(Basic Lua prompt editing should be done):
|
|
call neural#PreProcess(bufnr(''), g:input)
|
|
|
|
AssertEqual 'Write Lua code. Do something.', g:input.prompt
|