All,

The :sandbox command seems to disallow the use of :setlocal,
even though it permits changing buffer-local options via :set.
For example, this works fine:

  vim -u NONE '+set nocp | sandbox set ts=16'

But this fails:

  vim -u NONE '+set nocp | sandbox setlocal ts=16'

It generate the following error message:

  Error detected while processing command line:
  E48: Not allowed in sandbox:  sandbox setlocal ts=16

I was expecting :setlocal would work with :sandbox; should it?

Thanks,
Michael Henry

-- 
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

Raspunde prin e-mail lui