From 7ed7438fe6f78e7cf6915ddc9a827c2e82d326d1 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Wed, 7 May 2025 08:08:23 +0800 Subject: [PATCH] =?UTF-8?q?nvim:=20=E8=99=95=E7=90=86markdown=E6=94=AF?= =?UTF-8?q?=E6=8F=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exact_plugins/exact_editor/syntax.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/syntax.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/syntax.lua index 7634472..71c2bf6 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/syntax.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/syntax.lua @@ -1,4 +1,9 @@ return { + { 'plasticboy/vim-markdown', + config = function() + vim.g.vim_markdown_folding_disabled = 1 + end, + }, { "nvim-treesitter/nvim-treesitter", cond = function() @@ -15,18 +20,23 @@ return { -- ensure_installed = { "regex", + "bash", + "html", + "javascript", + "json", "lua", - "php", + "markdown", + "markdown_inline", "python", + "php", "go", "html", "css", - "javascript" }, highlight = { enable = true, -- 啟用高亮 }, - indent = { enable = true }, + -- indent = { enable = true }, }) end, },