markdown-preview.nvim: Can't get the :MarkdownPreview command anymore

Describe the bug I’m using :MarkdownPreview since a few years in neovim, mostly without any issues. But today, I cannot use it, the :MarkdownPreview command doesn’t show up anymore. I don’t use the markdown preview every day, so I don’t know since when it doesn’t work as expected.

I’m running archlinux (regularly updated). I’m using neovim v0.4.4, Markdown preview is up to date. Node v.12.8.3. Checkhealth is fine.

I tried to reinstall my plugins and to use a minimal init.vim for testing purpose:

" plugins (vim-plug)
call plug#begin('~/.config/nvim/plugged')
Plug 'arcticicestudio/nord-vim'                     " Nord color scheme
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-sensible'                           " default settings
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install'  }     " Markdown preview
Plug 'vim-pandoc/vim-pandoc'                        " pandoc support 
Plug 'vim-pandoc/vim-pandoc-syntax'                 " markdown syntax support 
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

" Filetype detection
filetype plugin on

" Format indentation
if has("autocmd")
  filetype plugin indent on
endif

" Python provider in a pyenv
let g:python3_host_prog='/home/igor/.pyenv/versions/neovim3/bin/python'

" Pandoc
let g:pandoc#formatting#mode = "hA"

" airline
let g:airline_powerline_fonts = 1
let g:airline#extensions#wordcount#filetypes = 'pandoc\|text\|' "Add support when pandoc is activated
let g:airline_theme='nord'

" Syntax coloration and color theme
syntax enable
set background=dark
colorscheme nord

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

@iGormilhit Update and set let g:mkdp_filetypes = ['markdown'] filetypes you want.