From f39b3d82041bd53e12bd70b2079ac425037de77b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 8 May 2024 14:57:28 +0100 Subject: [PATCH] wrapping: add plugin for soft word wrapping --- lua/plugins/wrapping.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lua/plugins/wrapping.lua diff --git a/lua/plugins/wrapping.lua b/lua/plugins/wrapping.lua new file mode 100644 index 0000000..4e970b9 --- /dev/null +++ b/lua/plugins/wrapping.lua @@ -0,0 +1,9 @@ +return { + "andrewferrier/wrapping.nvim", + config = function() + require("wrapping").setup { + softener = { markdown = 1.3 }, + } + require("wrapping").set_mode_heuristically() + end, +}