Commits

ZyX_I committed db9182b

@%aurum/drivers/mercurial: Fixed pyeval version of rf-ignore()

  • Participants
  • Parent commits 17df560

Comments (0)

Files changed (1)

File autoload/aurum/drivers/mercurial.vim

 if s:usepython "▶2
 if exists('*pyeval')
 function s:hg.ignore(repo, file)
+    let hgignore=s:_r.os.path.join(a:repo.path, '.hgignore')
     let reline='^'.pyeval('re.escape(vim.bindeval("a:file"))').'$'
     return s:F.addtosection(a:repo, hgignore, 'regexp', reline)
 endfunction