@@ -247,32 +247,32 @@ require('render-markdown').setup({
247
247
position = ' overlay' ,
248
248
-- Replaces '#+' of 'atx_h._marker'
249
249
-- The number of '#' in the heading determines the 'level'
250
- -- The 'level' is used to index into the array using a cycle
250
+ -- The 'level' is used to index into the list using a cycle
251
251
icons = { ' ' , ' ' , ' ' , ' ' , ' ' , ' ' },
252
252
-- Added to the sign column if enabled
253
- -- The 'level' is used to index into the array using a cycle
253
+ -- The 'level' is used to index into the list using a cycle
254
254
signs = { ' ' },
255
255
-- Width of the heading background:
256
256
-- block: width of the heading text
257
257
-- full: full width of the window
258
- -- Can also be an array of the above values in which case the 'level' is used
259
- -- to index into the array using a clamp
258
+ -- Can also be a list of the above values in which case the 'level' is used
259
+ -- to index into the list using a clamp
260
260
width = ' full' ,
261
261
-- Amount of margin to add to the left of headings
262
262
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
263
263
-- Margin available space is computed after accounting for padding
264
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
264
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
265
265
left_margin = 0 ,
266
266
-- Amount of padding to add to the left of headings
267
267
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
268
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
268
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
269
269
left_pad = 0 ,
270
270
-- Amount of padding to add to the right of headings when width is 'block'
271
271
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
272
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
272
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
273
273
right_pad = 0 ,
274
274
-- Minimum width to use for headings when width is 'block'
275
- -- Can also be an array of integers in which case the 'level' is used to index into the array using a clamp
275
+ -- Can also be a list of integers in which case the 'level' is used to index into the list using a clamp
276
276
min_width = 0 ,
277
277
-- Determins if a border is added above and below headings
278
278
border = false ,
@@ -284,7 +284,7 @@ require('render-markdown').setup({
284
284
above = ' ▄' ,
285
285
-- Used below heading for border
286
286
below = ' ▀' ,
287
- -- The 'level' is used to index into the array using a clamp
287
+ -- The 'level' is used to index into the list using a clamp
288
288
-- Highlight for the heading icon and extends through the entire line
289
289
backgrounds = {
290
290
' RenderMarkdownH1Bg' ,
@@ -294,7 +294,7 @@ require('render-markdown').setup({
294
294
' RenderMarkdownH5Bg' ,
295
295
' RenderMarkdownH6Bg' ,
296
296
},
297
- -- The 'level' is used to index into the array using a clamp
297
+ -- The 'level' is used to index into the list using a clamp
298
298
-- Highlight for the heading and sign icons
299
299
foregrounds = {
300
300
' RenderMarkdownH1' ,
@@ -323,7 +323,7 @@ require('render-markdown').setup({
323
323
-- Amount of padding to add around the language
324
324
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
325
325
language_pad = 0 ,
326
- -- An array of language names for which background highlighting will be disabled
326
+ -- A list of language names for which background highlighting will be disabled
327
327
-- Likely because that language has background highlights itself
328
328
disable_background = { ' diff' },
329
329
-- Width of the code block background:
@@ -373,7 +373,7 @@ require('render-markdown').setup({
373
373
enabled = true ,
374
374
-- Replaces '-'|'+'|'*' of 'list_item'
375
375
-- How deeply nested the list is determines the 'level'
376
- -- The 'level' is used to index into the array using a cycle
376
+ -- The 'level' is used to index into the list using a cycle
377
377
-- If the item is a 'checkbox' a conceal is used to hide the bullet instead
378
378
icons = { ' ●' , ' ○' , ' ◆' , ' ◇' },
379
379
-- Padding to add to the left of bullet point
@@ -587,11 +587,11 @@ require('render-markdown').setup({
587
587
588
588
</details >
589
589
590
- We use the following definitions when discussing indexing into arrays :
590
+ We use the following definitions when discussing indexing into lists :
591
591
592
592
1 . Cycle: Indexed ` mod ` the length.
593
593
Example: ` { 1, 2, 3 } ` @ 4 = 1.
594
- 2 . Clamp: Indexed normally but larger values use the last value in the array .
594
+ 2 . Clamp: Indexed normally but larger values use the last value in the list .
595
595
Example: ` { 1, 2, 3 } ` @ 4 = 3.
596
596
597
597
## Headings
@@ -615,32 +615,32 @@ require('render-markdown').setup({
615
615
position = ' overlay' ,
616
616
-- Replaces '#+' of 'atx_h._marker'
617
617
-- The number of '#' in the heading determines the 'level'
618
- -- The 'level' is used to index into the array using a cycle
618
+ -- The 'level' is used to index into the list using a cycle
619
619
icons = { ' ' , ' ' , ' ' , ' ' , ' ' , ' ' },
620
620
-- Added to the sign column if enabled
621
- -- The 'level' is used to index into the array using a cycle
621
+ -- The 'level' is used to index into the list using a cycle
622
622
signs = { ' ' },
623
623
-- Width of the heading background:
624
624
-- block: width of the heading text
625
625
-- full: full width of the window
626
- -- Can also be an array of the above values in which case the 'level' is used
627
- -- to index into the array using a clamp
626
+ -- Can also be a list of the above values in which case the 'level' is used
627
+ -- to index into the list using a clamp
628
628
width = ' full' ,
629
629
-- Amount of margin to add to the left of headings
630
630
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
631
631
-- Margin available space is computed after accounting for padding
632
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
632
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
633
633
left_margin = 0 ,
634
634
-- Amount of padding to add to the left of headings
635
635
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
636
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
636
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
637
637
left_pad = 0 ,
638
638
-- Amount of padding to add to the right of headings when width is 'block'
639
639
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
640
- -- Can also be an array of numbers in which case the 'level' is used to index into the array using a clamp
640
+ -- Can also be a list of numbers in which case the 'level' is used to index into the list using a clamp
641
641
right_pad = 0 ,
642
642
-- Minimum width to use for headings when width is 'block'
643
- -- Can also be an array of integers in which case the 'level' is used to index into the array using a clamp
643
+ -- Can also be a list of integers in which case the 'level' is used to index into the list using a clamp
644
644
min_width = 0 ,
645
645
-- Determins if a border is added above and below headings
646
646
border = false ,
@@ -652,7 +652,7 @@ require('render-markdown').setup({
652
652
above = ' ▄' ,
653
653
-- Used below heading for border
654
654
below = ' ▀' ,
655
- -- The 'level' is used to index into the array using a clamp
655
+ -- The 'level' is used to index into the list using a clamp
656
656
-- Highlight for the heading icon and extends through the entire line
657
657
backgrounds = {
658
658
' RenderMarkdownH1Bg' ,
@@ -662,7 +662,7 @@ require('render-markdown').setup({
662
662
' RenderMarkdownH5Bg' ,
663
663
' RenderMarkdownH6Bg' ,
664
664
},
665
- -- The 'level' is used to index into the array using a clamp
665
+ -- The 'level' is used to index into the list using a clamp
666
666
-- Highlight for the heading and sign icons
667
667
foregrounds = {
668
668
' RenderMarkdownH1' ,
@@ -706,7 +706,7 @@ require('render-markdown').setup({
706
706
-- Amount of padding to add around the language
707
707
-- If a floating point value < 1 is provided it is treated as a percentage of the available window space
708
708
language_pad = 0 ,
709
- -- An array of language names for which background highlighting will be disabled
709
+ -- A list of language names for which background highlighting will be disabled
710
710
-- Likely because that language has background highlights itself
711
711
disable_background = { ' diff' },
712
712
-- Width of the code block background:
@@ -786,7 +786,7 @@ require('render-markdown').setup({
786
786
enabled = true ,
787
787
-- Replaces '-'|'+'|'*' of 'list_item'
788
788
-- How deeply nested the list is determines the 'level'
789
- -- The 'level' is used to index into the array using a cycle
789
+ -- The 'level' is used to index into the list using a cycle
790
790
-- If the item is a 'checkbox' a conceal is used to hide the bullet instead
791
791
icons = { ' ●' , ' ○' , ' ◆' , ' ◇' },
792
792
-- Padding to add to the left of bullet point
0 commit comments