From 1a2e068a8b1c9d9094dfa8c75573109d283b1882 Mon Sep 17 00:00:00 2001 From: QQ <1770362456@qq.com> Date: Fri, 27 Jan 2023 23:44:25 +0800 Subject: [PATCH] update --- coc-settings.json | 3 +-- lazy-lock.json | 2 +- lua/Plugin/Markdown-preview.lua | 3 +++ lua/core/plug.lua | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 lua/Plugin/Markdown-preview.lua diff --git a/coc-settings.json b/coc-settings.json index 0265b84..ffe1420 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -4,6 +4,5 @@ "explorer.toggle": true, "markdown-preview-enhanced.previewTheme":"github-dark.css", "markdown-preview-enhanced.latexEngine": "pdflatex", - "leetcode.language": "cpp", - "outline.togglePreviewKey": "" + "markdown-preview-enhanced.chromePath": "/usr/bin/wyeb" } diff --git a/lazy-lock.json b/lazy-lock.json index c48f86c..3052808 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,10 +2,10 @@ "coc.nvim": { "branch": "release", "commit": "e86b15bbcabc2cc1f20a40e7c127a424e7ad3850" }, "colorizer": { "branch": "master", "commit": "72790a003d5a706c287486a1a81e3a6b32158b54" }, "gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" }, - "indentLine": { "branch": "master", "commit": "d15d63bf9c4a74a02470d4bc8ecce53df13e3a75" }, "lazy.nvim": { "branch": "main", "commit": "96d759d1cbd8b0bd0ea0a0c2987f99410272f348" }, "lazygit.nvim": { "branch": "main", "commit": "32bffdebe273e571588f25c8a708ca7297928617" }, "lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" }, + "markdown-preview.vim": { "branch": "master", "commit": "97388dc537454a90422f186cb4e1a4f9a3f95122" }, "nerdcommenter": { "branch": "master", "commit": "98cc4a2d64ca67cccbf5b5cf47c682ebadaaff58" }, "vim-easy-align": { "branch": "master", "commit": "12dd6316974f71ce333e360c0260b4e1f81169c3" }, "vim-easymotion": { "branch": "master", "commit": "b3cfab2a6302b3b39f53d9fd2cd997e1127d7878" }, diff --git a/lua/Plugin/Markdown-preview.lua b/lua/Plugin/Markdown-preview.lua new file mode 100644 index 0000000..42ce13e --- /dev/null +++ b/lua/Plugin/Markdown-preview.lua @@ -0,0 +1,3 @@ +local G = require("core.G") + +G.g['mkdp_path_to_chrome'] = '/usr/bin/wyeb' diff --git a/lua/core/plug.lua b/lua/core/plug.lua index e98121e..7dc9e04 100644 --- a/lua/core/plug.lua +++ b/lua/core/plug.lua @@ -37,6 +37,7 @@ require("lazy").setup({ 'lilydjwg/colorizer', --markdown + 'iamcco/markdown-preview.vim', -- git 'kdheepak/lazygit.nvim',