Skip to content

Vim freezes when editing around URL-like text #4

@machakann

Description

@machakann

When I edited a markdown file, I experienced vim freezing several times. It seems that fnamemodify() is the reason.

let l:cwd = fnamemodify(l:cwd, ':p:h')

If l:cwd is a text like '//a/b/c', vim freezes several seconds. Probably, fnamemodify() might try to search for a network drive in windows os (?) If l:cwd starts with \\ current one is expected behavior, but it would be nice to avoid it if l:cwd starts with //.

I'm using gvim 8.1.1005 on windows 10.

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