Selon Dotan Cohen <dotancohen@gmail.com>:
> I notice that some settings use the format ':set name=value' and other
> use ':name value'. For instance:
> :set syntax=php
> :syntax off
Note that ":syntax php" doesn't work.
> Can the string 'set ' always be safely elided?
No.
> If not, then what are the guidelines?
As far as I can tell, there aren't any. Some commands have the same name as
options (e.g. :filetype and 'filetype', :confirm and 'confirm'), but they don't
do the same things.
Best,
Paul
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Friday, March 22, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment