iamcco / iamcco/markdown-preview.nvim

let g:mkdp_command_for_globa not work

Open
#293 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I had set `let g:mkdp_command_for_globa=1` but still can't find MarkdownPreview in file .rmd.

My current solution is set

```
au BufNewFile,BufRead *.Rmd,*.rmd,*.Smd,*.smd setf markdown
```
but the auto start feature still can't work in *.rmd, my nvimrc is

```
let g:mkdp_auto_start = 1
let g:mkdp_command_for_global = 1
let g:mkdp_echo_preview_url = 1
let g:mkdp_open_to_the_world = 1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.