nvim: 處理markdown支援

This commit is contained in:
Yuan Chiu 2025-05-07 08:08:23 +08:00
parent 0e5d344b74
commit 7ed7438fe6
Signed by: yuan
GPG Key ID: 50FBE4156404B98D

View File

@ -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 {
-- <https://github.com/nvim-treesitter/nvim-treesitter#supported-languages>
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,
},