testFollowSymlink.vim 190 B

12345678910
  1. source helper.vim
  2. let tmpfile = 'symlink'
  3. call system('ln -nfs fixture.txt '.tmpfile)
  4. execute 'edit '.tmpfile
  5. execute '6d'
  6. write
  7. call DumpSigns('followSymlink')
  8. call system('rm '.tmpfile)