I set let g:mkdp_command_for_global = 1 in init.vim, but still return E492: Not an editor command: MarkdownPreview in .rmd file, following is my minimal init.vim
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
let g:mkdp_browser = 'msedge'
let g:mkdp_command_for_global = 1
I set let g:mkdp_command_for_global = 1 in init.vim, but still return E492: Not an editor command: MarkdownPreview in .rmd file, following is my minimal init.vim