Config
This commit is contained in:
parent
7201dc4801
commit
be36a60446
36 changed files with 800 additions and 7 deletions
26
lua/custom/plugins/markdown-preview.lua
Normal file
26
lua/custom/plugins/markdown-preview.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
"iamcco/markdown-preview.nvim",
|
||||
ft = "markdown",
|
||||
build = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
init = function()
|
||||
local g = vim.g
|
||||
g.mkdp_auto_start = 0
|
||||
g.mkdp_auto_close = 1
|
||||
g.mkdp_refresh_slow = 0
|
||||
g.mkdp_command_for_global = 0
|
||||
g.mkdp_open_to_the_world = 0
|
||||
g.mkdp_open_ip = ''
|
||||
g.mkdp_browser = 'firefox'
|
||||
g.mkdp_echo_preview_url = 0
|
||||
g.mkdp_browserfunc = ''
|
||||
g.mkdp_theme = 'dark'
|
||||
g.mkdp_filetypes = { "markdown" }
|
||||
g.mkdp_page_title = "${name}.md"
|
||||
g.mkdp_preview_options = {
|
||||
disable_sync_scroll = 0,
|
||||
disable_filename = 1
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue