From: martin f. krafft Date: Fri, 2 May 2025 18:29:51 +0000 (+0200) Subject: set textwidth for markdown X-Git-Url: https://git.madduck.net/etc/lazyvim.git/commitdiff_plain/d7362bb58d31b67863f4b272c4059822ea51158f?hp=562599dca9c71432fd1e356f6eea542f48990d8f set textwidth for markdown --- diff --git a/.config/lazyvim/after/ftplugin/markdown.lua b/.config/lazyvim/after/ftplugin/markdown.lua index 37526e9..304a852 100644 --- a/.config/lazyvim/after/ftplugin/markdown.lua +++ b/.config/lazyvim/after/ftplugin/markdown.lua @@ -1 +1,6 @@ +local i, _ = string.find(vim.bo.filetype, "mail") +if not i then + vim.opt_local.textwidth = 80 +end + vim.g.table_mode_corner = "|"