mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
first commit
This commit is contained in:
commit
6955e90e07
61 changed files with 3641 additions and 0 deletions
16
lua/lazy/plugins/markdownpreview.lua
Normal file
16
lua/lazy/plugins/markdownpreview.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- ===
|
||||
-- === markdown preview
|
||||
-- ===
|
||||
|
||||
return {
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
init = function() vim.g.mkdp_filetypes = { "markdown" } end,
|
||||
ft = { "markdown" },
|
||||
lazy = true,
|
||||
config = function()
|
||||
-- 设置使用谷歌浏览器进行预览
|
||||
vim.g.mkdp_browser = '/usr/bin/google-chrome-stable'
|
||||
end
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue