diff --git a/ftplugin/markdown.lua b/ftplugin/markdown.lua index 2848685..72f1eaf 100644 --- a/ftplugin/markdown.lua +++ b/ftplugin/markdown.lua @@ -1 +1,3 @@ vim.opt_local.conceallevel = 2 +vim.cmd 'autocmd BufEnter * set formatoptions-=cro' +vim.cmd 'autocmd BufEnter * setlocal formatoptions-=cro' diff --git a/lua/custom/plugins/render-markdown.lua b/lua/custom/plugins/render-markdown.lua index 564ff82..0e69f23 100644 --- a/lua/custom/plugins/render-markdown.lua +++ b/lua/custom/plugins/render-markdown.lua @@ -5,6 +5,9 @@ return { config = function() require('render-markdown').setup { enabled = true, + heading = { + width = 'block', + }, bullet = { right_pad = 1, },