: vsplit autocomplete does not work with / django / directory in VIM

Usually, if I type :vsplit /path/to/some/directory Tab, the available directories will be autocomplete.

After reinstalling VIM, there is one directory that will no longer allow autocompletion, and I cannot understand why. Catalog ~/Sites/django/. When I type ~/Sites/, it Tabwill show me the catalogs drupaland apps, but will not django. If my working directory is inside this django directory, :vsplitit will not let me autocomplete either.

I did ls -haltrin the directory and it looks the same as the others in the directory ~/Sites/.

Also, when I use the CtrlP plugin inside this directory, I get an error "==NO ENTRIES==". In other places, CtrlP works fine.

Why can this happen and how can I fix it?

+4
source share
1 answer

The directory is ignored because it has /django/a path in it ... that was installed by my Pinteron linter. Linter makes Vim ignore /*django*/. To see this, use set wildignoreto see which directories are ignored.

I just changed the directory to /dj/and it works great.

I could also change the wildignore directories with the command set wig-=my_directory.

+1
source

Source: https://habr.com/ru/post/1611522/


All Articles