Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim_Markdown_Preview_Local error #93

Open
jad617 opened this issue Apr 18, 2019 · 1 comment
Open

Vim_Markdown_Preview_Local error #93

jad617 opened this issue Apr 18, 2019 · 1 comment

Comments

@jad617
Copy link

jad617 commented Apr 18, 2019

When changing the vim_markdown_preview_toggle option whe get the following error:
Error detected while processing function Vim_Markdown_Preview_Local:
line 17:
E484: Can't open file /tmp/vTWTit6/3
Press ENTER or type command to continue

Does not have any issues:
let vim_markdown_preview_toggle=0
let vim_markdown_preview_toggle=3

Has issues:
let vim_markdown_preview_toggle=1
let vim_markdown_preview_toggle=2

A fix was proposed by dexpota in Issue#38
#38

There is a missing single quote on line 132:

From:

let chrome_wid = system("xdotool search --name vim-markdown-preview.html - " . g:vim_markdown_preview_browser . "'")

To:

let chrome_wid = system("xdotool search --name 'vim-markdown-preview.html - " . g:vim_markdown_preview_browser . "'")

Let me know if you want a PR for this.

Thanks

JihongJu added a commit to JihongJu/vim-markdown-preview that referenced this issue Jun 24, 2020
@DannyQuah
Copy link

DannyQuah commented Sep 6, 2020

Can I confirm if JihongJu's commit has been merged into main? Or if not, what remains to be worked out before it can be? As far as I can tell the missing ' remains missing.

(I don't know if this is the same or a separate issue, but even after I put in the missing ' on my local copy, I still can't get vim_markdown_preview_toggle=1 to render at all. Having vim_markdown_preview_toggle=0 works fine, however.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants