> I've noticed :help modify current vim settings.
> For example, it does ':set nolist'. I'm trying to mimic it behavior in my
> viewdoc plugin (because it contains drop-in replacement for :help command),
> so I need to know what else :help does in addition to ':set nolist'?

Use :setlocal, never :set. 

> Is this documented somewhere or configured somehow?

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.

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


Raspunde prin e-mail lui