On Nov 9, 7:17 pm, winterTTr <[email protected]> wrote: > I recently use py3 in vim and try to accomplish some function. > I remember that in py( which means python2 ), > we can clear the current buffer by : > :py vim.current.buffer[:] = [] > OR: > :py del vim.current.buffer[:] > > But in py3 now, the former code return a error message, and i can't > find other way to > clear the buffer in py3 code. > > Is this a using misstake or a problem in vim-py3?
The assignment by slice functionality was never ported to the python3 vim interface. An oversight, as far as I know. Nico -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
