🔧 Fixed markdown previewer config
This commit is contained in:
parent
d8ac45f3ee
commit
9e1b046074
1 changed files with 15 additions and 2 deletions
|
|
@ -52,7 +52,6 @@ require("lazy").setup({
|
||||||
{ "tpope/vim-fugitive" },
|
{ "tpope/vim-fugitive" },
|
||||||
{ "tpope/vim-surround", keys = { "cs", "ds", "ys" } },
|
{ "tpope/vim-surround", keys = { "cs", "ds", "ys" } },
|
||||||
{ "lambdalisue/suda.vim" },
|
{ "lambdalisue/suda.vim" },
|
||||||
{ "iamcco/markdown-preview.nvim", build = ":call mkdp#util#install()" },
|
|
||||||
{ "junegunn/fzf.vim" },
|
{ "junegunn/fzf.vim" },
|
||||||
{ "junegunn/gv.vim" },
|
{ "junegunn/gv.vim" },
|
||||||
{ "kien/ctrlp.vim" },
|
{ "kien/ctrlp.vim" },
|
||||||
|
|
@ -61,7 +60,17 @@ require("lazy").setup({
|
||||||
{ "williamboman/mason.nvim", event = "VeryLazy" },
|
{ "williamboman/mason.nvim", event = "VeryLazy" },
|
||||||
{ "williamboman/mason-lspconfig.nvim", event = "VeryLazy" },
|
{ "williamboman/mason-lspconfig.nvim", event = "VeryLazy" },
|
||||||
{ "neovim/nvim-lspconfig", event = { "BufReadPre", "BufNewFile" } },
|
{ "neovim/nvim-lspconfig", event = { "BufReadPre", "BufNewFile" } },
|
||||||
|
{
|
||||||
|
"iamcco/markdown-preview.nvim",
|
||||||
|
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||||
|
build = "cd app && npm install && git restore .",
|
||||||
|
-- or if you use yarn: (I have not checked this, I use npm)
|
||||||
|
-- build = "cd app && yarn install && git restore .",
|
||||||
|
init = function()
|
||||||
|
vim.g.mkdp_filetypes = { "markdown" }
|
||||||
|
end,
|
||||||
|
ft = { "markdown" },
|
||||||
|
},
|
||||||
-- Autocompletion/Snippets
|
-- Autocompletion/Snippets
|
||||||
{ "hrsh7th/nvim-cmp" },
|
{ "hrsh7th/nvim-cmp" },
|
||||||
{ "hrsh7th/cmp-buffer" },
|
{ "hrsh7th/cmp-buffer" },
|
||||||
|
|
@ -110,6 +119,10 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
ui = {
|
ui = {
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
|
size = {
|
||||||
|
width = 0.8,
|
||||||
|
height = 0.8,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
performance = {
|
performance = {
|
||||||
rtp = {
|
rtp = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue