Hi! On Fri, Aug 02, 2013 at 11:40:31AM -0700, ZyX wrote: > > 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.
Of course, I mean :setlocal above. > > 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. Thanks! -- WBR, Alex. -- -- 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.
