vimwiki-backup / vimwiki

Automatically exported from code.google.com/p/vimwiki
1 stars 1 forks source link

"custom_wiki2html" cannot be "~/xxx" must be "/home/cynic/xxx" #393

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set "custom_wiki2html": "~/.vim/bin/misaka_md2html.py"
2. :VimWiki2HTML

What is the expected output? What do you see instead?

vimwiki: conversion to HTML is not supported for this syntax!!!

What version of the product are you using? On what operating system?
2.0.1

Please provide any additional information below.
set "custom_wiki2html": "/home/cynic/.vim/bin/misaka_md2html.py"
then all right!!!

because of :
function! s:file_exists(fname) "{{{
  return !empty(getftype(a:fname))
endfunction "}}}

getftype("~/.vim/bin/misaka_md2html.py") --> Empty String
getftype("/home/cynic/.vim/bin/misaka_md2html.py") --> file

Original issue reported on code.google.com by Swulling on 2 Dec 2012 at 3:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by stu.andrews on 27 Dec 2012 at 8:28

GoogleCodeExporter commented 8 years ago
Please try rd219ff834476    

Original comment by stu.andrews on 28 Dec 2012 at 3:07