all repos — dotfiles @ master

linux dotfiles

config/nvim/lua/plugins/markdown-preview.lua (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
return {
  'iamcco/markdown-preview.nvim',
  cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
  build = 'cd app && yarn install',
  init = function()
    vim.g.mkdp_filetypes = { 'markdown' }
  end,
  ft = { 'markdown' },
}