From 687b3c4aa0d833e357321c7b18198ba2a30f87db Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 3 Feb 2025 18:46:05 -0500 Subject: [PATCH] feat: adding wrappers --- lua/cargdev/core/options.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/cargdev/core/options.lua b/lua/cargdev/core/options.lua index 277db72..8efd3e6 100644 --- a/lua/cargdev/core/options.lua +++ b/lua/cargdev/core/options.lua @@ -37,3 +37,12 @@ opt.splitbelow = true -- split horizontal window to the bottom -- turn off swapfile opt.swapfile = false + +-- Enable soft wrapping of long lines +opt.wrap = true + +-- Break lines at convenient points (e.g. after whitespace) rather than in the middle of a word +opt.linebreak = true + +-- Optionally, add a prefix to wrapped lines to visually indicate a wrap +opt.showbreak = "↪ "