Hi

Using Vim-7.2.417 (huge) on Linux, ":help :argedit" says...

--- 8< --- cut here --- 8< --- cut here --- 8< ---
:[count]arge[dit][!] [++opt] [+cmd] {name}              *:arge* *:argedit*
                        Add {name} to the argument list and edit it.
                        When {name} already exists in the argument list, this
                        entry is edited.
                        This is like using |:argadd| and then |:edit|.
                        Note that only one file name is allowed, and spaces
                        inside the file name are allowed, like with |:edit|.
                        [count] is used like with |:argadd|.
                        [!] is required if the current file cannot be
                        |abandon|ed.
                        Also see |++opt| and |+cmd|.
                        {not in Vi}
--- 8< --- cut here --- 8< --- cut here --- 8< ---

So I would expect to be able to do...

  :argedit ++enc=utf-8 foo.txt

However, it fails with error:

E492: Not an editor command: +enc=utf-8

|++opt| does not seem supported in  :argedit  unlike what the
help file claims.  The other command":args ++enc=utf-8 foo.txt"
does work.

I assume this is a bug in ":argedit" or is the doc incorrect?

Cheers
-- Dominique

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

Reply via email to