Skip to content

Hangs on start #2

@jdavis

Description

@jdavis

When editing a file in my home directory, it hangs forever.

When sending signal interrupt, it gives this error:

[ Davis ] [~] > vim .vimrc
^CError detected while processing /Users/Davis/.vim/bundle/vim-gitwildignore/plugin/gitwildignore.vim:
line   44:
Interrupted
Interrupt: Press ENTER or type command to continue

which corresponds to this line of code:

let gitignore_files = split(globpath('**', '\.gitignore'), '\n')

I'm guessing the double wildcard is too aggressive in this case and that's why the hanging is happening. Maybe just move up the folder hierarchy until / is reached for the search path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions