From 46c32d9df14e87add5b69660e18be4caf8b1e159 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 31 Dec 2016 13:59:38 +0100 Subject: [PATCH] tests/example: Add vim modelines This uses DOC_HIDE magic in the actual test code, except for the template.lua files which do not have it. Signed-off-by: Uli Schlachter --- tests/examples/awful/mouse/coords.lua | 2 ++ tests/examples/awful/placement/align.lua | 2 ++ tests/examples/awful/placement/bottom.lua | 2 ++ tests/examples/awful/placement/bottom_left.lua | 2 ++ tests/examples/awful/placement/bottom_right.lua | 2 ++ tests/examples/awful/placement/center_horizontal.lua | 2 ++ tests/examples/awful/placement/center_vertical.lua | 2 ++ tests/examples/awful/placement/centered.lua | 2 ++ tests/examples/awful/placement/closest_mouse.lua | 2 ++ tests/examples/awful/placement/compose.lua | 2 ++ tests/examples/awful/placement/compose2.lua | 2 ++ tests/examples/awful/placement/left.lua | 2 ++ tests/examples/awful/placement/maximize.lua | 2 ++ tests/examples/awful/placement/maximize_horizontally.lua | 2 ++ tests/examples/awful/placement/maximize_vertically.lua | 2 ++ tests/examples/awful/placement/next_to_mouse.lua | 2 ++ tests/examples/awful/placement/no_offscreen.lua | 2 ++ tests/examples/awful/placement/no_overlap.lua | 2 ++ tests/examples/awful/placement/resize_to_mouse.lua | 2 ++ tests/examples/awful/placement/right.lua | 2 ++ tests/examples/awful/placement/stretch.lua | 2 ++ tests/examples/awful/placement/stretch_down.lua | 2 ++ tests/examples/awful/placement/stretch_left.lua | 2 ++ tests/examples/awful/placement/stretch_right.lua | 2 ++ tests/examples/awful/placement/stretch_up.lua | 2 ++ tests/examples/awful/placement/top.lua | 2 ++ tests/examples/awful/placement/top_left.lua | 2 ++ tests/examples/awful/placement/top_right.lua | 2 ++ tests/examples/awful/placement/under_mouse.lua | 2 ++ tests/examples/awful/template.lua | 2 ++ tests/examples/gears/shape/arc.lua | 2 ++ tests/examples/gears/shape/arrow.lua | 2 ++ tests/examples/gears/shape/circle.lua | 2 ++ tests/examples/gears/shape/cross.lua | 2 ++ tests/examples/gears/shape/hexagon.lua | 2 ++ tests/examples/gears/shape/infobubble.lua | 2 ++ tests/examples/gears/shape/isosceles_triangle.lua | 2 ++ tests/examples/gears/shape/losange.lua | 2 ++ tests/examples/gears/shape/octogon.lua | 2 ++ tests/examples/gears/shape/parallelogram.lua | 2 ++ tests/examples/gears/shape/partially_rounded_rect.lua | 2 ++ tests/examples/gears/shape/pie.lua | 2 ++ tests/examples/gears/shape/powerline.lua | 2 ++ tests/examples/gears/shape/radial_progress.lua | 2 ++ tests/examples/gears/shape/rectangle.lua | 2 ++ tests/examples/gears/shape/rectangular_tag.lua | 2 ++ tests/examples/gears/shape/rounded_bar.lua | 2 ++ tests/examples/gears/shape/rounded_rect.lua | 2 ++ tests/examples/shims/button.lua | 2 ++ tests/examples/shims/drawin.lua | 1 - tests/examples/shims/screen.lua | 1 - tests/examples/shims/tag.lua | 1 - tests/examples/text/gears/object/properties.lua | 2 ++ tests/examples/text/gears/object/signal.lua | 2 ++ tests/examples/text/template.lua | 2 ++ tests/examples/wibox/container/arcchart/bg.lua | 2 ++ tests/examples/wibox/container/arcchart/border_width.lua | 2 ++ tests/examples/wibox/container/arcchart/paddings.lua | 2 ++ tests/examples/wibox/container/arcchart/rounded_edge.lua | 2 ++ tests/examples/wibox/container/arcchart/start_angle.lua | 2 ++ tests/examples/wibox/container/arcchart/thickness.lua | 2 ++ tests/examples/wibox/container/arcchart/value.lua | 2 ++ tests/examples/wibox/container/background/bg.lua | 2 ++ tests/examples/wibox/container/background/clip.lua | 2 ++ tests/examples/wibox/container/background/fg.lua | 2 ++ tests/examples/wibox/container/background/shape.lua | 2 ++ tests/examples/wibox/container/defaults/arcchart.lua | 2 ++ tests/examples/wibox/container/defaults/background.lua | 2 ++ tests/examples/wibox/container/defaults/constraint.lua | 2 ++ tests/examples/wibox/container/defaults/margin.lua | 2 ++ tests/examples/wibox/container/defaults/mirror.lua | 2 ++ tests/examples/wibox/container/defaults/radialprogressbar.lua | 2 ++ tests/examples/wibox/container/defaults/rotate.lua | 2 ++ tests/examples/wibox/container/defaults/template.lua | 1 + .../examples/wibox/container/radialprogressbar/border_color.lua | 2 ++ .../examples/wibox/container/radialprogressbar/border_width.lua | 2 ++ tests/examples/wibox/container/radialprogressbar/color.lua | 2 ++ tests/examples/wibox/container/radialprogressbar/padding.lua | 2 ++ tests/examples/wibox/container/radialprogressbar/value.lua | 2 ++ tests/examples/wibox/container/rotate/angle.lua | 2 ++ tests/examples/wibox/layout/defaults/align.lua | 2 ++ tests/examples/wibox/layout/defaults/fixed.lua | 2 ++ tests/examples/wibox/layout/defaults/flex.lua | 2 ++ tests/examples/wibox/layout/defaults/ratio.lua | 2 ++ tests/examples/wibox/layout/defaults/stack.lua | 2 ++ tests/examples/wibox/layout/template.lua | 2 ++ tests/examples/wibox/logo/logo.lua | 2 ++ tests/examples/wibox/logo/logo_and_name.lua | 2 ++ tests/examples/wibox/template.lua | 1 + tests/examples/wibox/widget/checkbox/bg.lua | 2 ++ tests/examples/wibox/widget/checkbox/check_shape.lua | 2 ++ tests/examples/wibox/widget/checkbox/custom.lua | 2 ++ tests/examples/wibox/widget/checkbox/shape.lua | 2 ++ tests/examples/wibox/widget/defaults/checkbox.lua | 2 ++ tests/examples/wibox/widget/defaults/graph.lua | 2 ++ tests/examples/wibox/widget/defaults/imagebox.lua | 2 ++ tests/examples/wibox/widget/defaults/piechart.lua | 2 ++ tests/examples/wibox/widget/defaults/progressbar.lua | 2 ++ tests/examples/wibox/widget/defaults/slider.lua | 2 ++ tests/examples/wibox/widget/defaults/textbox.lua | 2 ++ tests/examples/wibox/widget/graph/step.lua | 2 ++ tests/examples/wibox/widget/piechart/border_color.lua | 2 ++ tests/examples/wibox/widget/piechart/border_width.lua | 2 ++ tests/examples/wibox/widget/piechart/label.lua | 2 ++ tests/examples/wibox/widget/progressbar/bar_shape.lua | 2 ++ tests/examples/wibox/widget/progressbar/clip.lua | 2 ++ tests/examples/wibox/widget/progressbar/shape.lua | 2 ++ tests/examples/wibox/widget/progressbar/text.lua | 2 ++ tests/examples/wibox/widget/progressbar/vertical.lua | 2 ++ tests/examples/wibox/widget/slider/bar_border.lua | 2 ++ tests/examples/wibox/widget/slider/bar_color.lua | 2 ++ tests/examples/wibox/widget/slider/bar_height.lua | 2 ++ tests/examples/wibox/widget/slider/bar_margins.lua | 2 ++ tests/examples/wibox/widget/slider/bar_shape.lua | 2 ++ tests/examples/wibox/widget/slider/handle_border.lua | 2 ++ tests/examples/wibox/widget/slider/handle_color.lua | 2 ++ tests/examples/wibox/widget/slider/handle_margins.lua | 2 ++ tests/examples/wibox/widget/slider/handle_shape.lua | 2 ++ tests/examples/wibox/widget/slider/handle_width.lua | 2 ++ tests/examples/wibox/widget/slider/value.lua | 2 ++ 120 files changed, 232 insertions(+), 3 deletions(-) diff --git a/tests/examples/awful/mouse/coords.lua b/tests/examples/awful/mouse/coords.lua index c6cf46fe2..3a42faa32 100644 --- a/tests/examples/awful/mouse/coords.lua +++ b/tests/examples/awful/mouse/coords.lua @@ -11,3 +11,5 @@ mouse.coords { } mouse.push_history() --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/align.lua b/tests/examples/awful/placement/align.lua index 24570cee8..6aa158a07 100644 --- a/tests/examples/awful/placement/align.lua +++ b/tests/examples/awful/placement/align.lua @@ -23,3 +23,5 @@ c = client.gen_fake {x = screen[3].geometry.x+10, y = screen[3].geometry.y+10, w placement.align(c, {position = "center_horizontal", honor_workarea=true}) return {hide_lines=true} + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/bottom.lua b/tests/examples/awful/placement/bottom.lua index cc56c10a8..b997028cd 100644 --- a/tests/examples/awful/placement/bottom.lua +++ b/tests/examples/awful/placement/bottom.lua @@ -14,3 +14,5 @@ awful.placement.bottom(client.focus) assert(c.x == screen[1].geometry.width/2-40/2-c.border_width--DOC_HIDE and c.y==screen[1].geometry.height-30-2*c.border_width--DOC_HIDE and c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/bottom_left.lua b/tests/examples/awful/placement/bottom_left.lua index a06abe28b..7ca40b3b1 100644 --- a/tests/examples/awful/placement/bottom_left.lua +++ b/tests/examples/awful/placement/bottom_left.lua @@ -17,3 +17,5 @@ assert( --DOC_HIDE and c.width == 40--DOC_HIDE and c.height == 30--DOC_HIDE ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/bottom_right.lua b/tests/examples/awful/placement/bottom_right.lua index 2abb44900..1503a9292 100644 --- a/tests/examples/awful/placement/bottom_right.lua +++ b/tests/examples/awful/placement/bottom_right.lua @@ -14,3 +14,5 @@ awful.placement.bottom_right(client.focus) assert(c.x == screen[1].geometry.width-40-2*c.border_width) --DOC_HIDE assert(c.y==screen[1].geometry.height-30-2*c.border_width) --DOC_HIDE assert(c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/center_horizontal.lua b/tests/examples/awful/placement/center_horizontal.lua index 931b947c1..5ee87c67e 100644 --- a/tests/examples/awful/placement/center_horizontal.lua +++ b/tests/examples/awful/placement/center_horizontal.lua @@ -13,3 +13,5 @@ awful.placement.center_horizontal(client.focus) assert(c.x == screen[1].geometry.width/2-40/2-c.border_width)--DOC_HIDE assert(c.y==35)--DOC_HIDE assert(c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/center_vertical.lua b/tests/examples/awful/placement/center_vertical.lua index cf3fd646d..dea446ad0 100644 --- a/tests/examples/awful/placement/center_vertical.lua +++ b/tests/examples/awful/placement/center_vertical.lua @@ -9,3 +9,5 @@ local awful = {placement = require("awful.placement")} --DOC_HIDE --[[local c = ]]client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE awful.placement.center_vertical(client.focus) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/centered.lua b/tests/examples/awful/placement/centered.lua index d6b1e3aec..796494db8 100644 --- a/tests/examples/awful/placement/centered.lua +++ b/tests/examples/awful/placement/centered.lua @@ -14,3 +14,5 @@ awful.placement.centered(client.focus) assert(c.x == screen[1].geometry.width/2-40/2-c.border_width) --DOC_HIDE assert(c.y==screen[1].geometry.height/2-30/2-c.border_width) --DOC_HIDE assert(c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/closest_mouse.lua b/tests/examples/awful/placement/closest_mouse.lua index 9c37ac296..f62324505 100644 --- a/tests/examples/awful/placement/closest_mouse.lua +++ b/tests/examples/awful/placement/closest_mouse.lua @@ -60,3 +60,5 @@ local _, corner = awful.placement.closest_corner( {include_sides = true, bounding_rect = {x=0, y=0, width=200, height=200}} ) print("Closest corner:", corner) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/compose.lua b/tests/examples/awful/placement/compose.lua index 1e547e8c0..2ac834272 100644 --- a/tests/examples/awful/placement/compose.lua +++ b/tests/examples/awful/placement/compose.lua @@ -9,3 +9,5 @@ f(client.focus) local sg = screen[1].geometry--DOC_HIDE assert(c.x == sg.x and c.y==sg.height/2-30/2-c.border_width--DOC_HIDE and c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/compose2.lua b/tests/examples/awful/placement/compose2.lua index 4a49f6634..7fb40fa17 100644 --- a/tests/examples/awful/placement/compose2.lua +++ b/tests/examples/awful/placement/compose2.lua @@ -16,3 +16,5 @@ assert(c.x == wa.x and geo.x == wa.x)--DOC_HIDE assert(c.y == wa.y) --DOC_HIDE assert(c.width == wa.width/2 - 2*c.border_width)--DOC_HIDE assert(c.height == wa.height - 2*c.border_width)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/left.lua b/tests/examples/awful/placement/left.lua index f16ba7b53..9d680e103 100644 --- a/tests/examples/awful/placement/left.lua +++ b/tests/examples/awful/placement/left.lua @@ -13,3 +13,5 @@ awful.placement.left(client.focus) assert(c.x == 0 and c.y==screen[1].geometry.height/2-30/2-c.border_width--DOC_HIDE and c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/maximize.lua b/tests/examples/awful/placement/maximize.lua index aecb52274..f7063e524 100644 --- a/tests/examples/awful/placement/maximize.lua +++ b/tests/examples/awful/placement/maximize.lua @@ -16,3 +16,5 @@ local c1 = client.gen_fake {--DOC_HIDE c1.height+2*c1.border_width == screen[1].geometry.height) --DOC_HIDE end --DOC_HIDE end --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/maximize_horizontally.lua b/tests/examples/awful/placement/maximize_horizontally.lua index dd06ab3a6..d77bb8bf1 100644 --- a/tests/examples/awful/placement/maximize_horizontally.lua +++ b/tests/examples/awful/placement/maximize_horizontally.lua @@ -13,3 +13,5 @@ placement.maximize_horizontally(c) assert(c.width + 2*c.border_width == screen[1].geometry.width) --DOC_HIDE assert(c.y == 35) --DOC_HIDE assert(c.height == 30) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/maximize_vertically.lua b/tests/examples/awful/placement/maximize_vertically.lua index 8ecdfec21..18fa914e3 100644 --- a/tests/examples/awful/placement/maximize_vertically.lua +++ b/tests/examples/awful/placement/maximize_vertically.lua @@ -13,3 +13,5 @@ placement.maximize_vertically(c) assert(c.height+2*c.border_width == screen[1].geometry.height)--DOC_HIDE assert(c.x == 45) --DOC_HIDE assert(c.width == 40) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/next_to_mouse.lua b/tests/examples/awful/placement/next_to_mouse.lua index 45c76ddce..c5e940542 100644 --- a/tests/examples/awful/placement/next_to_mouse.lua +++ b/tests/examples/awful/placement/next_to_mouse.lua @@ -6,3 +6,5 @@ mouse.coords {x= 50, y=50} --DOC_HIDE mouse.push_history() --DOC_HIDE awful.placement.next_to_mouse(client.focus) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/no_offscreen.lua b/tests/examples/awful/placement/no_offscreen.lua index 1f65cdb42..b596ab26e 100644 --- a/tests/examples/awful/placement/no_offscreen.lua +++ b/tests/examples/awful/placement/no_offscreen.lua @@ -7,3 +7,5 @@ print("Before:", "x="..c.x..", y="..c.y..", width="..c.width..", height="..c.hei awful.placement.no_offscreen(c)--, {honor_workarea=true, margins=40}) print("After:", "x="..c.x..", y="..c.y..", width="..c.width..", height="..c.height) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/no_overlap.lua b/tests/examples/awful/placement/no_overlap.lua index 14d09a376..9faf08b69 100644 --- a/tests/examples/awful/placement/no_overlap.lua +++ b/tests/examples/awful/placement/no_overlap.lua @@ -24,3 +24,5 @@ awful.placement.no_overlap(client.focus) --FIXME --DOC_HIDE --TODO maximized + no_overlap --DOC_HIDE --TODO add 9 clients with no_overlap on all of them --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/resize_to_mouse.lua b/tests/examples/awful/placement/resize_to_mouse.lua index a7f1a1a29..db561fd02 100644 --- a/tests/examples/awful/placement/resize_to_mouse.lua +++ b/tests/examples/awful/placement/resize_to_mouse.lua @@ -72,3 +72,5 @@ for _, v in ipairs(all_coords_in) do assert(test_touch_mouse(client.get()[s]), v[1]) s = s + 1 end + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/right.lua b/tests/examples/awful/placement/right.lua index 4e16cea6c..0aa7ad480 100644 --- a/tests/examples/awful/placement/right.lua +++ b/tests/examples/awful/placement/right.lua @@ -14,3 +14,5 @@ awful.placement.right(client.focus) assert(c.x == screen[1].geometry.width-40-2*c.border_width) --DOC_HIDE assert( c.y==screen[1].geometry.height/2-30/2-c.border_width)--DOC_HIDE assert( c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/stretch.lua b/tests/examples/awful/placement/stretch.lua index fca27952d..c80e0bd14 100644 --- a/tests/examples/awful/placement/stretch.lua +++ b/tests/examples/awful/placement/stretch.lua @@ -14,3 +14,5 @@ local c1 = client.gen_fake {--DOC_HIDE placement.stretch(c1, {direction=pos}) end + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/stretch_down.lua b/tests/examples/awful/placement/stretch_down.lua index 76a56f7db..5f2b510e4 100644 --- a/tests/examples/awful/placement/stretch_down.lua +++ b/tests/examples/awful/placement/stretch_down.lua @@ -16,3 +16,5 @@ assert(c.y==35) --DOC_HIDE assert(c.width == 40) --DOC_HIDE assert(c.y+c.height+2*c.border_width == --DOC_HIDE screen[1].geometry.y + screen[1].geometry.height) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/stretch_left.lua b/tests/examples/awful/placement/stretch_left.lua index 06a8731d7..5de1bee69 100644 --- a/tests/examples/awful/placement/stretch_left.lua +++ b/tests/examples/awful/placement/stretch_left.lua @@ -12,3 +12,5 @@ local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE placement.stretch_left(client.focus) assert(c.x == 0 and c.y == 35 and c.height == 30) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/stretch_right.lua b/tests/examples/awful/placement/stretch_right.lua index 47dcce807..e8046d47f 100644 --- a/tests/examples/awful/placement/stretch_right.lua +++ b/tests/examples/awful/placement/stretch_right.lua @@ -13,3 +13,5 @@ placement.stretch_right(client.focus) local right = screen[1].geometry.x + screen[1].geometry.width --DOC_HIDE assert(c.height == 30 and c.x == 45 and c.x+c.width+2*c.border_width == right) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/stretch_up.lua b/tests/examples/awful/placement/stretch_up.lua index 6f8101c22..455909ae9 100644 --- a/tests/examples/awful/placement/stretch_up.lua +++ b/tests/examples/awful/placement/stretch_up.lua @@ -15,3 +15,5 @@ assert(c.y==0) --DOC_HIDE assert(c.x==45) --DOC_HIDE assert(c.width == 40) --DOC_HIDE assert(c.height-2*c.border_width == 35+30) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/top.lua b/tests/examples/awful/placement/top.lua index b3375fbcb..30e8535d8 100644 --- a/tests/examples/awful/placement/top.lua +++ b/tests/examples/awful/placement/top.lua @@ -15,3 +15,5 @@ assert(c.x == screen[1].geometry.width/2-40/2-c.border_width) assert(c.y==0) --DOC_HIDE assert( c.width==40) --DOC_HIDE assert(c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/top_left.lua b/tests/examples/awful/placement/top_left.lua index f70b85f60..aa56268ab 100644 --- a/tests/examples/awful/placement/top_left.lua +++ b/tests/examples/awful/placement/top_left.lua @@ -12,3 +12,5 @@ local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE awful.placement.top_left(client.focus) assert(c.x == 0 and c.y==0 and c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/top_right.lua b/tests/examples/awful/placement/top_right.lua index 2ef1634c7..a8599a307 100644 --- a/tests/examples/awful/placement/top_right.lua +++ b/tests/examples/awful/placement/top_right.lua @@ -13,3 +13,5 @@ awful.placement.top_right(client.focus) assert(c.x == screen[1].geometry.width-40-2*c.border_width and c.y==0 --DOC_HIDE and c.width==40 and c.height==30)--DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/placement/under_mouse.lua b/tests/examples/awful/placement/under_mouse.lua index adcb2b805..9b910f119 100644 --- a/tests/examples/awful/placement/under_mouse.lua +++ b/tests/examples/awful/placement/under_mouse.lua @@ -9,3 +9,5 @@ awful.placement.under_mouse(client.focus) assert(client.focus.x + client.focus.width /2 - mouse.coords().x <= 1) --DOC_HIDE assert(client.focus.y + client.focus.height/2 - mouse.coords().y <= 1) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/awful/template.lua b/tests/examples/awful/template.lua index 5f810e2c9..9e45fa484 100644 --- a/tests/examples/awful/template.lua +++ b/tests/examples/awful/template.lua @@ -136,3 +136,5 @@ for _, h in ipairs(mouse.old_histories) do end img:finish() + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/arc.lua b/tests/examples/gears/shape/arc.lua index 088fb8d15..3aaddd648 100644 --- a/tests/examples/gears/shape/arc.lua +++ b/tests/examples/gears/shape/arc.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.arc(cr,70,70, nil, 0, 2*math.pi) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/arrow.lua b/tests/examples/gears/shape/arrow.lua index 981608da5..3e1a2d248 100644 --- a/tests/examples/gears/shape/arrow.lua +++ b/tests/examples/gears/shape/arrow.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.arrow) : rotate_at(35,35,math.pi/2)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/circle.lua b/tests/examples/gears/shape/circle.lua index 0cb1b9fcd..d01ae82ac 100644 --- a/tests/examples/gears/shape/circle.lua +++ b/tests/examples/gears/shape/circle.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.circle) : scale(0.5, 1)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/cross.lua b/tests/examples/gears/shape/cross.lua index 08c692e66..1dc9024b4 100644 --- a/tests/examples/gears/shape/cross.lua +++ b/tests/examples/gears/shape/cross.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.cross) : scale(0.5, 1)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/hexagon.lua b/tests/examples/gears/shape/hexagon.lua index d08beacb4..8d5155eb3 100644 --- a/tests/examples/gears/shape/hexagon.lua +++ b/tests/examples/gears/shape/hexagon.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.hexagon) : rotate_at(35,35,math.pi/2)(cr,70,40) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/infobubble.lua b/tests/examples/gears/shape/infobubble.lua index 5612eb64a..ad3d30dda 100644 --- a/tests/examples/gears/shape/infobubble.lua +++ b/tests/examples/gears/shape/infobubble.lua @@ -10,3 +10,5 @@ show(cr) --DOC_HIDE shape.transform(shape.infobubble) : rotate_at(35,35,3*math.pi/2) (cr,70,70, nil, nil, 40) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/isosceles_triangle.lua b/tests/examples/gears/shape/isosceles_triangle.lua index e20c5b8cf..59fe72127 100644 --- a/tests/examples/gears/shape/isosceles_triangle.lua +++ b/tests/examples/gears/shape/isosceles_triangle.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.isosceles_triangle) : rotate_at(35, 35, math.pi/2)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/losange.lua b/tests/examples/gears/shape/losange.lua index 61b115c6a..babf8a36e 100644 --- a/tests/examples/gears/shape/losange.lua +++ b/tests/examples/gears/shape/losange.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.losange) : scale(0.5, 1)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/octogon.lua b/tests/examples/gears/shape/octogon.lua index 083cc7d89..fbf75b233 100644 --- a/tests/examples/gears/shape/octogon.lua +++ b/tests/examples/gears/shape/octogon.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.octogon) : translate(0, 25) (cr,70,20) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/parallelogram.lua b/tests/examples/gears/shape/parallelogram.lua index 1ba1c22fe..81ce53728 100644 --- a/tests/examples/gears/shape/parallelogram.lua +++ b/tests/examples/gears/shape/parallelogram.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.parallelogram) : scale(0.5, 1)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/partially_rounded_rect.lua b/tests/examples/gears/shape/partially_rounded_rect.lua index 18734a2aa..0cf7a61aa 100644 --- a/tests/examples/gears/shape/partially_rounded_rect.lua +++ b/tests/examples/gears/shape/partially_rounded_rect.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.partially_rounded_rect(cr, 70, 70, true, true, false, true, 30) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/pie.lua b/tests/examples/gears/shape/pie.lua index 60bead347..638ed056a 100644 --- a/tests/examples/gears/shape/pie.lua +++ b/tests/examples/gears/shape/pie.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.pie(cr,70,70, 0, 2*math.pi, 10) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/powerline.lua b/tests/examples/gears/shape/powerline.lua index dcaa9508d..e43e5887c 100644 --- a/tests/examples/gears/shape/powerline.lua +++ b/tests/examples/gears/shape/powerline.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.powerline) : translate(0, 25) (cr,70,20, -20) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/radial_progress.lua b/tests/examples/gears/shape/radial_progress.lua index 56ff74c26..ba6d8666f 100644 --- a/tests/examples/gears/shape/radial_progress.lua +++ b/tests/examples/gears/shape/radial_progress.lua @@ -8,3 +8,5 @@ show(cr, true) --DOC_HIDE shape.radial_progress(cr, 70, 20, .9) show(cr, true) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/rectangle.lua b/tests/examples/gears/shape/rectangle.lua index 92be78d24..a03255f8e 100644 --- a/tests/examples/gears/shape/rectangle.lua +++ b/tests/examples/gears/shape/rectangle.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.rectangle) : scale(0.5, 1)(cr,70,70) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/rectangular_tag.lua b/tests/examples/gears/shape/rectangular_tag.lua index b1444ffdd..cf7e45a41 100644 --- a/tests/examples/gears/shape/rectangular_tag.lua +++ b/tests/examples/gears/shape/rectangular_tag.lua @@ -11,3 +11,5 @@ show(cr) --DOC_HIDE shape.transform(shape.rectangular_tag) : translate(0, 30) (cr, 70, 10, -10) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/rounded_bar.lua b/tests/examples/gears/shape/rounded_bar.lua index 6c874865d..5f9299635 100644 --- a/tests/examples/gears/shape/rounded_bar.lua +++ b/tests/examples/gears/shape/rounded_bar.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.rounded_bar(cr, 70, 20) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/gears/shape/rounded_rect.lua b/tests/examples/gears/shape/rounded_rect.lua index d8cfada8e..642ce08f0 100644 --- a/tests/examples/gears/shape/rounded_rect.lua +++ b/tests/examples/gears/shape/rounded_rect.lua @@ -8,3 +8,5 @@ show(cr) --DOC_HIDE shape.transform(shape.rounded_rect) : translate(0,25) (cr,70,20, 5) show(cr) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/shims/button.lua b/tests/examples/shims/button.lua index be0e3ecdd..fb5e995af 100644 --- a/tests/examples/shims/button.lua +++ b/tests/examples/shims/button.lua @@ -2,3 +2,5 @@ return function() return { data = {}, connect_signal = function() end } end + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/shims/drawin.lua b/tests/examples/shims/drawin.lua index e96ebd6de..ed06e2e67 100644 --- a/tests/examples/shims/drawin.lua +++ b/tests/examples/shims/drawin.lua @@ -21,4 +21,3 @@ return setmetatable(drawin, { }) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 - diff --git a/tests/examples/shims/screen.lua b/tests/examples/shims/screen.lua index 1e487e373..fef1af192 100644 --- a/tests/examples/shims/screen.lua +++ b/tests/examples/shims/screen.lua @@ -99,4 +99,3 @@ screen._add_screen {width=320, height=240} return screen -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 - diff --git a/tests/examples/shims/tag.lua b/tests/examples/shims/tag.lua index cb1b1f4ca..f445f485b 100644 --- a/tests/examples/shims/tag.lua +++ b/tests/examples/shims/tag.lua @@ -34,4 +34,3 @@ return setmetatable(tag, { }) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 - diff --git a/tests/examples/text/gears/object/properties.lua b/tests/examples/text/gears/object/properties.lua index 97690967c..3e8994a51 100644 --- a/tests/examples/text/gears/object/properties.lua +++ b/tests/examples/text/gears/object/properties.lua @@ -51,3 +51,5 @@ print(o.something) o.something = "a cow" print(o.something) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/text/gears/object/signal.lua b/tests/examples/text/gears/object/signal.lua index 2a67b3783..e21bdb315 100644 --- a/tests/examples/text/gears/object/signal.lua +++ b/tests/examples/text/gears/object/signal.lua @@ -22,3 +22,5 @@ o:disconnect_signal("my_signal", slot) -- This time, the `slot` wont be called as it is no longer connected. o:emit_signal "my_signal" + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/text/template.lua b/tests/examples/text/template.lua index 948f3a14d..4368a41ce 100644 --- a/tests/examples/text/template.lua +++ b/tests/examples/text/template.lua @@ -3,3 +3,5 @@ require("_common_template")(...) -- Execute the test loadfile(file_path)() + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/bg.lua b/tests/examples/wibox/container/arcchart/bg.lua index 686c394ba..36d4c6241 100644 --- a/tests/examples/wibox/container/arcchart/bg.lua +++ b/tests/examples/wibox/container/arcchart/bg.lua @@ -36,3 +36,5 @@ for _, v in ipairs {"", "#00ff00", "#0000ff"} do end return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/border_width.lua b/tests/examples/wibox/container/arcchart/border_width.lua index c74a51195..10f2fd5be 100644 --- a/tests/examples/wibox/container/arcchart/border_width.lua +++ b/tests/examples/wibox/container/arcchart/border_width.lua @@ -46,3 +46,5 @@ for _, v in ipairs {0,1,3,6.5} do end return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/paddings.lua b/tests/examples/wibox/container/arcchart/paddings.lua index f427797ba..3c8bf4190 100644 --- a/tests/examples/wibox/container/arcchart/paddings.lua +++ b/tests/examples/wibox/container/arcchart/paddings.lua @@ -77,3 +77,5 @@ l:add(wibox.widget { }) return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/rounded_edge.lua b/tests/examples/wibox/container/arcchart/rounded_edge.lua index fabeb0bc9..86f01ab04 100644 --- a/tests/examples/wibox/container/arcchart/rounded_edge.lua +++ b/tests/examples/wibox/container/arcchart/rounded_edge.lua @@ -79,3 +79,5 @@ parent:add(wibox.widget { }) return 500, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/start_angle.lua b/tests/examples/wibox/container/arcchart/start_angle.lua index baa8612ea..71fbfc3f5 100644 --- a/tests/examples/wibox/container/arcchart/start_angle.lua +++ b/tests/examples/wibox/container/arcchart/start_angle.lua @@ -33,3 +33,5 @@ for _, v in ipairs {0, math.pi/2, math.pi} do end return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/thickness.lua b/tests/examples/wibox/container/arcchart/thickness.lua index ab431de35..428096e57 100644 --- a/tests/examples/wibox/container/arcchart/thickness.lua +++ b/tests/examples/wibox/container/arcchart/thickness.lua @@ -37,3 +37,5 @@ for _, v in ipairs {1,3,7,10} do end return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/arcchart/value.lua b/tests/examples/wibox/container/arcchart/value.lua index 048007976..ba5dfd427 100644 --- a/tests/examples/wibox/container/arcchart/value.lua +++ b/tests/examples/wibox/container/arcchart/value.lua @@ -26,3 +26,5 @@ for _, v in ipairs {0,1,7,99} do end return nil, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/background/bg.lua b/tests/examples/wibox/container/background/bg.lua index 4bfef12ac..83cc20d2e 100644 --- a/tests/examples/wibox/container/background/bg.lua +++ b/tests/examples/wibox/container/background/bg.lua @@ -25,3 +25,5 @@ parent : setup { spacing = 10, layout = wibox.layout.fixed.vertical } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/background/clip.lua b/tests/examples/wibox/container/background/clip.lua index 8184f8668..93fab52b6 100644 --- a/tests/examples/wibox/container/background/clip.lua +++ b/tests/examples/wibox/container/background/clip.lua @@ -30,3 +30,5 @@ parent : setup { spacing = 10, layout = wibox.layout.fixed.vertical } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/background/fg.lua b/tests/examples/wibox/container/background/fg.lua index 30e958a41..15d58a49b 100644 --- a/tests/examples/wibox/container/background/fg.lua +++ b/tests/examples/wibox/container/background/fg.lua @@ -25,3 +25,5 @@ parent : setup { spacing = 10, layout = wibox.layout.fixed.vertical } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/background/shape.lua b/tests/examples/wibox/container/background/shape.lua index 139bb1ca1..e912f965d 100644 --- a/tests/examples/wibox/container/background/shape.lua +++ b/tests/examples/wibox/container/background/shape.lua @@ -38,3 +38,5 @@ parent : setup { spacing = 10, layout = wibox.layout.fixed.vertical } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/arcchart.lua b/tests/examples/wibox/container/defaults/arcchart.lua index 284900a64..be3f63762 100644 --- a/tests/examples/wibox/container/defaults/arcchart.lua +++ b/tests/examples/wibox/container/defaults/arcchart.lua @@ -43,3 +43,5 @@ return { }, layout = wibox.container.margin } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/background.lua b/tests/examples/wibox/container/defaults/background.lua index 0ce041416..7296560b5 100644 --- a/tests/examples/wibox/container/defaults/background.lua +++ b/tests/examples/wibox/container/defaults/background.lua @@ -22,3 +22,5 @@ return { bg = beautiful.bg_highlight, widget = wibox.container.background } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/constraint.lua b/tests/examples/wibox/container/defaults/constraint.lua index 1d4fcb88c..91383e57d 100644 --- a/tests/examples/wibox/container/defaults/constraint.lua +++ b/tests/examples/wibox/container/defaults/constraint.lua @@ -25,3 +25,5 @@ return { }, layout = wibox.layout.fixed.vertical, } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/margin.lua b/tests/examples/wibox/container/defaults/margin.lua index 49505b07a..89cf5207f 100644 --- a/tests/examples/wibox/container/defaults/margin.lua +++ b/tests/examples/wibox/container/defaults/margin.lua @@ -52,3 +52,5 @@ return { expand = "none", layout = wibox.layout.align.vertical, } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/mirror.lua b/tests/examples/wibox/container/defaults/mirror.lua index e216c9b46..99cb78aca 100644 --- a/tests/examples/wibox/container/defaults/mirror.lua +++ b/tests/examples/wibox/container/defaults/mirror.lua @@ -17,3 +17,5 @@ return { reflection = {horizontal = true}, widget = wibox.container.mirror } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/radialprogressbar.lua b/tests/examples/wibox/container/defaults/radialprogressbar.lua index 5ae4190e7..602f0fac2 100644 --- a/tests/examples/wibox/container/defaults/radialprogressbar.lua +++ b/tests/examples/wibox/container/defaults/radialprogressbar.lua @@ -23,3 +23,5 @@ return { margins = 5, layout = wibox.container.margin } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/rotate.lua b/tests/examples/wibox/container/defaults/rotate.lua index 13cf1002d..61fc370cb 100644 --- a/tests/examples/wibox/container/defaults/rotate.lua +++ b/tests/examples/wibox/container/defaults/rotate.lua @@ -17,3 +17,5 @@ return { direction = "east", widget = wibox.container.rotate } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/defaults/template.lua b/tests/examples/wibox/container/defaults/template.lua index e1fe7842c..6e7a45516 100644 --- a/tests/examples/wibox/container/defaults/template.lua +++ b/tests/examples/wibox/container/defaults/template.lua @@ -75,3 +75,4 @@ local f_w, f_h = container:fit({dpi=96}, 9999, 9999) local img = surface.widget_to_svg(container, image_path..".svg", f_w, f_h) img:finish() +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/radialprogressbar/border_color.lua b/tests/examples/wibox/container/radialprogressbar/border_color.lua index 6885a7060..93b6ca902 100644 --- a/tests/examples/wibox/container/radialprogressbar/border_color.lua +++ b/tests/examples/wibox/container/radialprogressbar/border_color.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/radialprogressbar/border_width.lua b/tests/examples/wibox/container/radialprogressbar/border_width.lua index b13bddf7f..71222c772 100644 --- a/tests/examples/wibox/container/radialprogressbar/border_width.lua +++ b/tests/examples/wibox/container/radialprogressbar/border_width.lua @@ -27,3 +27,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/radialprogressbar/color.lua b/tests/examples/wibox/container/radialprogressbar/color.lua index 7c097af5f..f7738f5ab 100644 --- a/tests/examples/wibox/container/radialprogressbar/color.lua +++ b/tests/examples/wibox/container/radialprogressbar/color.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/radialprogressbar/padding.lua b/tests/examples/wibox/container/radialprogressbar/padding.lua index 9e46370fa..6af415e01 100644 --- a/tests/examples/wibox/container/radialprogressbar/padding.lua +++ b/tests/examples/wibox/container/radialprogressbar/padding.lua @@ -31,3 +31,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/radialprogressbar/value.lua b/tests/examples/wibox/container/radialprogressbar/value.lua index a3e7c9447..24c20aeff 100644 --- a/tests/examples/wibox/container/radialprogressbar/value.lua +++ b/tests/examples/wibox/container/radialprogressbar/value.lua @@ -26,3 +26,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/container/rotate/angle.lua b/tests/examples/wibox/container/rotate/angle.lua index 0e5db3789..92807497e 100644 --- a/tests/examples/wibox/container/rotate/angle.lua +++ b/tests/examples/wibox/container/rotate/angle.lua @@ -60,3 +60,5 @@ parent : setup { --DOC_HIDE spacing = 10, --DOC_HIDE layout = wibox.layout.fixed.horizontal --DOC_HIDE } --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/defaults/align.lua b/tests/examples/wibox/layout/defaults/align.lua index 236b5cac5..ee0e73efa 100644 --- a/tests/examples/wibox/layout/defaults/align.lua +++ b/tests/examples/wibox/layout/defaults/align.lua @@ -8,3 +8,5 @@ wibox.widget { generic_widget( "third" ), layout = wibox.layout.align.horizontal } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/defaults/fixed.lua b/tests/examples/wibox/layout/defaults/fixed.lua index 0b6f1f825..28c1fc8fe 100644 --- a/tests/examples/wibox/layout/defaults/fixed.lua +++ b/tests/examples/wibox/layout/defaults/fixed.lua @@ -8,3 +8,5 @@ wibox.widget { generic_widget( "third" ), layout = wibox.layout.fixed.horizontal } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/defaults/flex.lua b/tests/examples/wibox/layout/defaults/flex.lua index 81d59cd53..14bbd4b4a 100644 --- a/tests/examples/wibox/layout/defaults/flex.lua +++ b/tests/examples/wibox/layout/defaults/flex.lua @@ -8,3 +8,5 @@ wibox.widget { generic_widget( "third" ), layout = wibox.layout.flex.horizontal } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/defaults/ratio.lua b/tests/examples/wibox/layout/defaults/ratio.lua index 397d74905..466747000 100644 --- a/tests/examples/wibox/layout/defaults/ratio.lua +++ b/tests/examples/wibox/layout/defaults/ratio.lua @@ -11,3 +11,5 @@ local w = wibox.widget { w:ajust_ratio(2, 0.44, 0.33, 0.22) return w --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/defaults/stack.lua b/tests/examples/wibox/layout/defaults/stack.lua index 828874825..5ccca04f4 100644 --- a/tests/examples/wibox/layout/defaults/stack.lua +++ b/tests/examples/wibox/layout/defaults/stack.lua @@ -8,3 +8,5 @@ wibox.widget { generic_widget( "third" ), layout = wibox.layout.stack } + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/layout/template.lua b/tests/examples/wibox/layout/template.lua index bc162e77d..f399049cb 100644 --- a/tests/examples/wibox/layout/template.lua +++ b/tests/examples/wibox/layout/template.lua @@ -101,3 +101,5 @@ end -- Save to the output file local img = surface["widget_to_svg"](widget, image_path..".svg", w or 200, h or 30) img:finish() + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/logo/logo.lua b/tests/examples/wibox/logo/logo.lua index 2a0688cc6..e9bf991a4 100644 --- a/tests/examples/wibox/logo/logo.lua +++ b/tests/examples/wibox/logo/logo.lua @@ -13,3 +13,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/logo/logo_and_name.lua b/tests/examples/wibox/logo/logo_and_name.lua index fe1eb674a..2c2b13459 100644 --- a/tests/examples/wibox/logo/logo_and_name.lua +++ b/tests/examples/wibox/logo/logo_and_name.lua @@ -15,3 +15,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/template.lua b/tests/examples/wibox/template.lua index 92402c1e9..656d22e51 100644 --- a/tests/examples/wibox/template.lua +++ b/tests/examples/wibox/template.lua @@ -27,3 +27,4 @@ f_w, f_h = f_w+10, f_h+10 local img = surface["widget_to_"..image_type](container, image_path.."."..image_type, w or f_w, h or f_h) img:finish() +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/checkbox/bg.lua b/tests/examples/wibox/widget/checkbox/bg.lua index 8410223db..151b525d8 100644 --- a/tests/examples/wibox/widget/checkbox/bg.lua +++ b/tests/examples/wibox/widget/checkbox/bg.lua @@ -18,3 +18,5 @@ parent:add( --DOC_HIDE widget = wibox.widget.checkbox } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/checkbox/check_shape.lua b/tests/examples/wibox/widget/checkbox/check_shape.lua index a0be1267a..11fe7df4c 100644 --- a/tests/examples/wibox/widget/checkbox/check_shape.lua +++ b/tests/examples/wibox/widget/checkbox/check_shape.lua @@ -25,3 +25,5 @@ for _, s in ipairs {"rectangle", "circle", "losange", "octogon"} do end parent:add(l) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/checkbox/custom.lua b/tests/examples/wibox/widget/checkbox/custom.lua index 4f0531af9..e8ce550e4 100644 --- a/tests/examples/wibox/widget/checkbox/custom.lua +++ b/tests/examples/wibox/widget/checkbox/custom.lua @@ -31,3 +31,5 @@ parent:add( --DOC_HIDE widget = wibox.widget.checkbox } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/checkbox/shape.lua b/tests/examples/wibox/widget/checkbox/shape.lua index 096549882..c13ebf13e 100644 --- a/tests/examples/wibox/widget/checkbox/shape.lua +++ b/tests/examples/wibox/widget/checkbox/shape.lua @@ -25,3 +25,5 @@ for _, s in ipairs {"rectangle", "circle", "losange", "octogon"} do end parent:add(l) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/checkbox.lua b/tests/examples/wibox/widget/defaults/checkbox.lua index c18e641b8..440f6fbf2 100644 --- a/tests/examples/wibox/widget/defaults/checkbox.lua +++ b/tests/examples/wibox/widget/defaults/checkbox.lua @@ -29,3 +29,5 @@ parent:add( --DOC_HIDE } --DOC_HIDE ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/graph.lua b/tests/examples/wibox/widget/defaults/graph.lua index 6ccd93b5a..0a2057058 100644 --- a/tests/examples/wibox/widget/defaults/graph.lua +++ b/tests/examples/wibox/widget/defaults/graph.lua @@ -20,3 +20,5 @@ parent:add( w ) --DOC_HIDE for _, v in ipairs(data) do --DOC_HIDE w:add_value(v) --DOC_HIDE end --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/imagebox.lua b/tests/examples/wibox/widget/defaults/imagebox.lua index 13d5ef041..8e433fdc3 100644 --- a/tests/examples/wibox/widget/defaults/imagebox.lua +++ b/tests/examples/wibox/widget/defaults/imagebox.lua @@ -11,3 +11,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/piechart.lua b/tests/examples/wibox/widget/defaults/piechart.lua index 293b1ded6..0101e828c 100644 --- a/tests/examples/wibox/widget/defaults/piechart.lua +++ b/tests/examples/wibox/widget/defaults/piechart.lua @@ -22,3 +22,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/progressbar.lua b/tests/examples/wibox/widget/defaults/progressbar.lua index 0f90b62cb..6f3915e2e 100644 --- a/tests/examples/wibox/widget/defaults/progressbar.lua +++ b/tests/examples/wibox/widget/defaults/progressbar.lua @@ -17,3 +17,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/slider.lua b/tests/examples/wibox/widget/defaults/slider.lua index 2dfc1e08f..519f288f0 100644 --- a/tests/examples/wibox/widget/defaults/slider.lua +++ b/tests/examples/wibox/widget/defaults/slider.lua @@ -20,3 +20,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/defaults/textbox.lua b/tests/examples/wibox/widget/defaults/textbox.lua index 3997a99ff..ddf7c679b 100644 --- a/tests/examples/wibox/widget/defaults/textbox.lua +++ b/tests/examples/wibox/widget/defaults/textbox.lua @@ -11,3 +11,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/graph/step.lua b/tests/examples/wibox/widget/graph/step.lua index 9b5d02106..bc3603e95 100644 --- a/tests/examples/wibox/widget/graph/step.lua +++ b/tests/examples/wibox/widget/graph/step.lua @@ -26,3 +26,5 @@ parent:add( w ) --DOC_HIDE for _, v in ipairs(data) do --DOC_HIDE w:add_value(v) --DOC_HIDE end --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/piechart/border_color.lua b/tests/examples/wibox/widget/piechart/border_color.lua index 43b1b10b6..4bbbf9e9d 100644 --- a/tests/examples/wibox/widget/piechart/border_color.lua +++ b/tests/examples/wibox/widget/piechart/border_color.lua @@ -25,3 +25,5 @@ for _, v in ipairs {"#ff0000", "#00ff00", "#0000ff"} do widget = wibox.widget.piechart }) end + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/piechart/border_width.lua b/tests/examples/wibox/widget/piechart/border_width.lua index a8c4430b9..40cb8deea 100644 --- a/tests/examples/wibox/widget/piechart/border_width.lua +++ b/tests/examples/wibox/widget/piechart/border_width.lua @@ -24,3 +24,5 @@ for _, v in ipairs {0,1,3,5} do widget = wibox.widget.piechart }) end + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/piechart/label.lua b/tests/examples/wibox/widget/piechart/label.lua index b9852807e..a994281bc 100644 --- a/tests/examples/wibox/widget/piechart/label.lua +++ b/tests/examples/wibox/widget/piechart/label.lua @@ -66,3 +66,5 @@ parent:add(wibox.widget { }) return 500, 60 + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/bar_shape.lua b/tests/examples/wibox/widget/progressbar/bar_shape.lua index 47d5717cd..4d5d9e933 100644 --- a/tests/examples/wibox/widget/progressbar/bar_shape.lua +++ b/tests/examples/wibox/widget/progressbar/bar_shape.lua @@ -25,3 +25,5 @@ for _, shape in ipairs {"rounded_bar", "octogon", "hexagon", "powerline" } do end parent:add(l) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/clip.lua b/tests/examples/wibox/widget/progressbar/clip.lua index 695d87f9c..44dea3cc0 100644 --- a/tests/examples/wibox/widget/progressbar/clip.lua +++ b/tests/examples/wibox/widget/progressbar/clip.lua @@ -25,3 +25,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/shape.lua b/tests/examples/wibox/widget/progressbar/shape.lua index d53c950a6..bcaec4d07 100644 --- a/tests/examples/wibox/widget/progressbar/shape.lua +++ b/tests/examples/wibox/widget/progressbar/shape.lua @@ -22,3 +22,5 @@ for _, shape in ipairs {"rounded_bar", "octogon", "hexagon", "powerline" } do end parent:add(l) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/text.lua b/tests/examples/wibox/widget/progressbar/text.lua index d854a4b1d..f4ac6a587 100644 --- a/tests/examples/wibox/widget/progressbar/text.lua +++ b/tests/examples/wibox/widget/progressbar/text.lua @@ -23,3 +23,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/vertical.lua b/tests/examples/wibox/widget/progressbar/vertical.lua index ae1844194..d0bc37510 100644 --- a/tests/examples/wibox/widget/progressbar/vertical.lua +++ b/tests/examples/wibox/widget/progressbar/vertical.lua @@ -16,3 +16,5 @@ parent:add( --DOC_HIDE } ) --DOC_HIDE + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/bar_border.lua b/tests/examples/wibox/widget/slider/bar_border.lua index f7f0d7b87..4d201aacd 100644 --- a/tests/examples/wibox/widget/slider/bar_border.lua +++ b/tests/examples/wibox/widget/slider/bar_border.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/bar_color.lua b/tests/examples/wibox/widget/slider/bar_color.lua index 5401e94a0..de3859809 100644 --- a/tests/examples/wibox/widget/slider/bar_color.lua +++ b/tests/examples/wibox/widget/slider/bar_color.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/bar_height.lua b/tests/examples/wibox/widget/slider/bar_height.lua index 2d94f0643..58fad90ad 100644 --- a/tests/examples/wibox/widget/slider/bar_height.lua +++ b/tests/examples/wibox/widget/slider/bar_height.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/bar_margins.lua b/tests/examples/wibox/widget/slider/bar_margins.lua index d03f69101..9b4f4cebb 100644 --- a/tests/examples/wibox/widget/slider/bar_margins.lua +++ b/tests/examples/wibox/widget/slider/bar_margins.lua @@ -29,3 +29,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/bar_shape.lua b/tests/examples/wibox/widget/slider/bar_shape.lua index d33dac7fd..f285e4255 100644 --- a/tests/examples/wibox/widget/slider/bar_shape.lua +++ b/tests/examples/wibox/widget/slider/bar_shape.lua @@ -26,3 +26,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/handle_border.lua b/tests/examples/wibox/widget/slider/handle_border.lua index 2e4bf039b..4f20c3263 100644 --- a/tests/examples/wibox/widget/slider/handle_border.lua +++ b/tests/examples/wibox/widget/slider/handle_border.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/handle_color.lua b/tests/examples/wibox/widget/slider/handle_color.lua index 4af7fe2ba..ab9a88fbe 100644 --- a/tests/examples/wibox/widget/slider/handle_color.lua +++ b/tests/examples/wibox/widget/slider/handle_color.lua @@ -24,3 +24,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/handle_margins.lua b/tests/examples/wibox/widget/slider/handle_margins.lua index 69be2289d..7e4e27629 100644 --- a/tests/examples/wibox/widget/slider/handle_margins.lua +++ b/tests/examples/wibox/widget/slider/handle_margins.lua @@ -29,3 +29,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/handle_shape.lua b/tests/examples/wibox/widget/slider/handle_shape.lua index 18ba7acdd..7a21342b2 100644 --- a/tests/examples/wibox/widget/slider/handle_shape.lua +++ b/tests/examples/wibox/widget/slider/handle_shape.lua @@ -26,3 +26,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/handle_width.lua b/tests/examples/wibox/widget/slider/handle_width.lua index ae61daa11..a74e8db53 100644 --- a/tests/examples/wibox/widget/slider/handle_width.lua +++ b/tests/examples/wibox/widget/slider/handle_width.lua @@ -25,3 +25,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/slider/value.lua b/tests/examples/wibox/widget/slider/value.lua index cce0b7295..801218d5d 100644 --- a/tests/examples/wibox/widget/slider/value.lua +++ b/tests/examples/wibox/widget/slider/value.lua @@ -25,3 +25,5 @@ local l = wibox.layout { } parent:add(l) + +--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80