added markdown preview plugin

This commit is contained in:
Ivar Fatland
2023-06-05 01:57:44 +02:00
parent 6d47969254
commit 6f2483413a
+7
View File
@@ -97,10 +97,17 @@ local function packer_startup(use)
} }
} }
use{ "roodletoof/markdown-preview.nvim-asciimath",
run = "cd app && npm install",
setup = function() vim.g.mkdp_filetypes = { "markdown" } end,
ft = { "markdown" }, }
if packer_bootstrap then --Comes after packages if packer_bootstrap then --Comes after packages
require('packer').sync() require('packer').sync()
end end
vim.g.mkdp_auto_start = 1
vim.g.vimtex_view_method = 'zathura' vim.g.vimtex_view_method = 'zathura'
vim.g.vimtex_syntax_enabled = false vim.g.vimtex_syntax_enabled = false