> This is coded in C: > https://bitbucket.org/ZyX_I/vim/src/8d8a30a648f05a91c3c433f0e01343649449ca3c/src/ex_cmds.c#cl-3523. > Use has() in place of #ifdef, most of time defined(FEAT_FOO) means > has('foo')==1.
And win->w_p_foo sets window-local foo, buf->b_p_foo sets buffer-local foo. Unless you are using my python interface with `window.options` and `buffer.options` it is both set by :setlocal/:let &l:option. In python you cannot set buffer-local variable with window.options or vim.options. -- -- 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/groups/opt_out.
