mirror of
https://github.com/hanzoai/hanzo.vim.git
synced 2026-11-09 15:19:11 +00:00
21 lines
371 B
Plaintext
21 lines
371 B
Plaintext
Before:
|
|
Save g:neural
|
|
|
|
unlet! g:neural
|
|
|
|
let g:input = {'prompt': 'Do something.'}
|
|
call neural#config#Load()
|
|
|
|
After:
|
|
unlet! g:input
|
|
|
|
Restore
|
|
|
|
Given go(An empty Go file):
|
|
Execute(It should be possible to disable pre-processing):
|
|
let g:neural.pre_process.enabled = 0
|
|
|
|
call neural#PreProcess(bufnr(''), g:input)
|
|
|
|
AssertEqual 'Do something.', g:input.prompt
|