Commit efac835 1 parent d537d3c commit efac835 Copy full SHA for efac835
File tree 1 file changed +5
-1
lines changed
lua/neorg/modules/core/concealer
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ module.public = {
638
638
end
639
639
640
640
local line_lengths = {}
641
- local max_len = 0
641
+ local max_len = config . min_width or 0
642
642
for row_0b = row_start_0b , row_end_0bin do
643
643
local len = get_line_length (bufid , row_0b )
644
644
if len > max_len then
@@ -929,6 +929,10 @@ module.config.public = {
929
929
-- within the code block.
930
930
width = " fullwidth" ,
931
931
932
+ -- When set to a number, the code block background will be at least
933
+ -- this many chars wide. Useful in conjunction with `width = "content"`
934
+ min_width = nil ,
935
+
932
936
-- Additional padding to apply to either the left or the right. Making
933
937
-- these values negative is considered undefined behaviour (it is
934
938
-- likely to work, but it's not officially supported).
You can’t perform that action at this time.
0 commit comments