Found a weird "feature" of Vim buffer autocomplete working in my matlab 
repository.  Looking for a bugfix or a workaround.

The Matlab project I'm working on has multiple packages, which in matlab are 
specified using +folderName.  Repo has a lot of files at locations like this:

./+package1/+package2/@ClassName/ClassName.m

I load them all into buffers for the sake of autocomplete and vimgrep using 
:args */**/*.m (works fine).

I look for a specific buffer by name like this:
:b Class2<tab>

and I get

:b \+packageN\@Class2\Class2.m

If I press enter, I get 
E866: (NFA regexp) Misplaced +
E64: \+ follows nothing

However, if I edit the line to read
:e .\+packageN\@Class2\Class2.m

the buffer opens as expected.

Is there a workaround for this or a way to fix implementation?

Kris

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui