vim-pandoc/vim-pandoc — pull request #102 by felixSchl (2014-01-14 20:59:19+00:00)
Title: relpath exception

relpath throws an exception if the start path and the to-be-truncated path are on different partitions on windows. This pull request resolves this by avoiding relpath and using splitext instead. Also results in more readable code.