nvim: 處理markdown支援
This commit is contained in:
parent
0e5d344b74
commit
7ed7438fe6
@ -1,4 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
|
{ 'plasticboy/vim-markdown',
|
||||||
|
config = function()
|
||||||
|
vim.g.vim_markdown_folding_disabled = 1
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
cond = function()
|
cond = function()
|
||||||
@ -15,18 +20,23 @@ return {
|
|||||||
-- <https://github.com/nvim-treesitter/nvim-treesitter#supported-languages>
|
-- <https://github.com/nvim-treesitter/nvim-treesitter#supported-languages>
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"regex",
|
"regex",
|
||||||
|
"bash",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"json",
|
||||||
"lua",
|
"lua",
|
||||||
"php",
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
"python",
|
"python",
|
||||||
|
"php",
|
||||||
"go",
|
"go",
|
||||||
"html",
|
"html",
|
||||||
"css",
|
"css",
|
||||||
"javascript"
|
|
||||||
},
|
},
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true, -- 啟用高亮
|
enable = true, -- 啟用高亮
|
||||||
},
|
},
|
||||||
indent = { enable = true },
|
-- indent = { enable = true },
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user