neovim/after/ftplugin/markdown.lua

10 lines
264 B
Lua

-- Specific settings for markdown files (pandoc filetype)
-- Enable the autowrite feature for all commands
-- See :h awa
vim.opt.awa=true
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldlevel = 1
vim.opt.conceallevel = 2