mirror of
https://github.com/amix/vimrc
synced 2025-07-21 20:05:00 +08:00
Updated plugins
This commit is contained in:
@ -2015,7 +2015,7 @@ fu! s:bufnrfilpath(line)
|
||||
let filpath = s:dyncwd.s:lash().a:line
|
||||
en
|
||||
let filpath = fnamemodify(filpath, ':p')
|
||||
let bufnr = bufnr('^'.filpath.'$')
|
||||
let bufnr = bufnr('^'.fnameescape(filpath).'$')
|
||||
if (!filereadable(filpath) && bufnr < 1)
|
||||
if (a:line =~ '[\/]\?\[\d\+\*No Name\]$')
|
||||
let bufnr = str2nr(matchstr(a:line, '[\/]\?\[\zs\d\+\ze\*No Name\]$'))
|
||||
|
Reference in New Issue
Block a user