Closed puremourning closed 3 years ago
For the record, the simpler code works, as in:
py3 vim.vars[ 'test' ] = 1
echo g:test
py3 import vim py3 vim.vars[ 'test' ] = {} py3 vim.vars[ 'test' ][ 'toast' ] = 1
echo g:test.toast
This can't work because the container (map/list) is serialized and copied over RPC. References (bindeval) are not supported.
Duplicate of https://github.com/neovim/neovim/issues/1898
@puremourning contributions welcome. (I want to work on this, but soo much to do already)
nvim --version
:vim -u DEFAULTS
(version: ) behaves differently? YES$TERM
: xterm-256colorSteps to reproduce using
nvim -u NORC
vim -u NORC test.vim --cmd source test.vim
Actual behaviour
Expected behaviour
1
Vim returns
1
.