diff --git a/after/ftplugin/markdown.lua b/after/ftplugin/markdown.lua index da01af3..3a73708 100644 --- a/after/ftplugin/markdown.lua +++ b/after/ftplugin/markdown.lua @@ -2,6 +2,7 @@ -- Use treesitter for folding -- Disable the color column -vim.opt.foldmethod="expr" -vim.opt.foldexpr="nvim_treesitter#foldexpr()" -vim.opt.foldlevel=0 +-- vim.opt.foldmethod="expr" +-- vim.opt.foldexpr="nvim_treesitter#foldexpr()" +vim.g.markdown_folding=1 +-- vim.opt.foldlevel=1 diff --git a/init.lua b/init.lua index 11c7d28..81ff7ed 100644 --- a/init.lua +++ b/init.lua @@ -487,12 +487,12 @@ local servers = { -- rust_analyzer = {}, -- tsserver = {}, - marksman = { - ft = { - 'markdown', - 'pandoc' - } - }, + -- marksman = { + -- ft = { + -- 'markdown', + -- 'pandoc' + -- } + -- }, lua_ls = { Lua = {