From d23ea77e1bca56cfb00a5fbf064a9501a00e1da9 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Thu, 3 Nov 2022 12:48:35 -0400 Subject: settings: added new option keep_newline_whitespace --- plugins/settings.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/settings.lua b/plugins/settings.lua index 62d1592..6d55c14 100644 --- a/plugins/settings.lua +++ b/plugins/settings.lua @@ -447,6 +447,13 @@ settings.add("Editor", min = 1, max = 10 }, + { + label = "Keep Newline Whitespace", + description = "Do not remove whitespace when pressing enter.", + path = "keep_newline_whitespace", + type = settings.type.TOGGLE, + default = false + }, { label = "Line Limit", description = "Amount of characters at which the line breaking column will be drawn.", -- cgit v1.2.3