2017-03-17 12:58 GMT+03:00 Yggdroot Chen <[email protected]>:
> One local buffer variable is predefined:
>                                         *b:changedtick* *changetick*
>
> But I can't access it through this:
>
> :py print vim.current.buffer.vars["changedtick"]
>
> I think this is a bug!
>
> Perhaps there are other predefined variables which have this issue.

You need to update Vim. Before 8.0.334 there was no such variable is
“b:changedtick”, there was a collection of hacks used to access
internal buf_T structure state. I did not add yet another hack when
creating `vim.Buffer.vars`, so that did not work. But 8.0.334 should
fix this.

>
> --
> --
> You received this message from the "vim_dev" 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
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui