diff --git a/Packaging.cmake b/Packaging.cmake index 102c033e..fb14c5f1 100644 --- a/Packaging.cmake +++ b/Packaging.cmake @@ -1,31 +1,31 @@ if(NOT VERSION) - set(VERSION "unknown") + set(VERSION "unknown") endif() string(REGEX REPLACE "^v?([0-9.]+)-?(.*)$" - "\\1;\\2" version_result ${VERSION}) + "\\1;\\2" version_result ${VERSION}) list(LENGTH version_result version_result_list_length) if(version_result_list_length EQUAL 2) - list(GET version_result 0 version_num) - list(GET version_result 1 version_gitstamp) + list(GET version_result 0 version_num) + list(GET version_result 1 version_gitstamp) else(version_result_list_length EQUAL 2) - message("Unable to deduce a meaningful version number. \ + message("Unable to deduce a meaningful version number. \ Set OVERRIDE_VERSION when you run CMake (cmake .. -DOVERRIDE_VERSION=3.14.159), or \ just build from a git repository.") - set(version_num "0.0.0") - set(version_gitstamp "") + set(version_num "0.0.0") + set(version_gitstamp "") endif(version_result_list_length EQUAL 2) if(version_gitstamp) - set(version_gitsuffix "~git${version_gitstamp}") + set(version_gitsuffix "~git${version_gitstamp}") else(version_gitstamp) - set(version_gitsuffix "") + set(version_gitsuffix "") endif(version_gitstamp) string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" - "\\1;\\2;\\3" version_num_split ${version_num}) + "\\1;\\2;\\3" version_num_split ${version_num}) list(APPEND version_num_split 0 0 0) #ensure the list(GET )) commands below never fail @@ -40,21 +40,21 @@ message(STATUS "Package version will be set to ${version_num}${version_gitsuffix set(CPACK_PACKAGE_VERSION "${version_num}${version_gitsuffix}") if(NOT CPACK_GENERATOR) - a_find_program(rpmbuild_path "rpmbuild" FALSE) - if(rpmbuild_path) - message(STATUS "rpmbuild found, enabling RPM for the 'package' target") - list(APPEND CPACK_GENERATOR RPM) - else(rpmbuild_path) - message(STATUS "The 'package' target will not build a RPM") - endif(rpmbuild_path) + a_find_program(rpmbuild_path "rpmbuild" FALSE) + if(rpmbuild_path) + message(STATUS "rpmbuild found, enabling RPM for the 'package' target") + list(APPEND CPACK_GENERATOR RPM) + else(rpmbuild_path) + message(STATUS "The 'package' target will not build a RPM") + endif(rpmbuild_path) - a_find_program(dpkg_path "dpkg" FALSE) - if (dpkg_path) - message(STATUS "dpkg found, enabling DEB for the 'package' target") - list(APPEND CPACK_GENERATOR DEB) - else(dpkg_path) - message(STATUS "The 'package' target will not build a DEB") - endif(dpkg_path) + a_find_program(dpkg_path "dpkg" FALSE) + if (dpkg_path) + message(STATUS "dpkg found, enabling DEB for the 'package' target") + list(APPEND CPACK_GENERATOR DEB) + else(dpkg_path) + message(STATUS "The 'package' target will not build a DEB") + endif(dpkg_path) endif(NOT CPACK_GENERATOR) set(CPACK_PACKAGE_NAME "awesome") @@ -62,5 +62,7 @@ set(CPACK_DEBIAN_PACKAGE_MAINTAINER "devnull@example.com") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A tiling window manager") if(CPACK_GENERATOR) - include(CPack) + include(CPack) endif() + +# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80:foldmethod=marker diff --git a/docs/load_ldoc.cmake b/docs/load_ldoc.cmake index 3123f082..d8f6fe21 100644 --- a/docs/load_ldoc.cmake +++ b/docs/load_ldoc.cmake @@ -16,3 +16,5 @@ foreach(doc_file_name ${doc_files}) # Create a new variable usable from lua files set(DOC_${DOC_FILE_NAME}_COMMON "Imported documentation\n\n${doc_file_content}") endforeach() + +# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80:foldmethod=marker diff --git a/docs/widget_lists.cmake b/docs/widget_lists.cmake index d0fe506f..10c4cf6d 100644 --- a/docs/widget_lists.cmake +++ b/docs/widget_lists.cmake @@ -47,3 +47,5 @@ endfunction() generate_widget_list( "container" ) generate_widget_list( "layout" ) generate_widget_list( "widget" ) + +# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80:foldmethod=marker diff --git a/lib/awful/client/urgent.lua b/lib/awful/client/urgent.lua index 22f6a6d7..8cdcc2cb 100644 --- a/lib/awful/client/urgent.lua +++ b/lib/awful/client/urgent.lua @@ -86,3 +86,5 @@ capi.client.connect_signal("focus", urgent.delete) capi.client.connect_signal("unmanage", urgent.delete) return urgent + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/mouse/drag_to_tag.lua b/lib/awful/mouse/drag_to_tag.lua index 141456bc..e8e836d9 100644 --- a/lib/awful/mouse/drag_to_tag.lua +++ b/lib/awful/mouse/drag_to_tag.lua @@ -56,3 +56,5 @@ resize.add_move_callback(function(c, _, _) end, "mouse.move") return setmetatable(module, {__call = function(_, ...) return module.drag_to_tag(...) end}) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/mouse/resize.lua b/lib/awful/mouse/resize.lua index edd278dc..de79c004 100644 --- a/lib/awful/mouse/resize.lua +++ b/lib/awful/mouse/resize.lua @@ -227,3 +227,5 @@ local function handler(_, client, context, args) --luacheck: no unused_args end return setmetatable(module, {__call=handler}) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/mouse/snap.lua b/lib/awful/mouse/snap.lua index 048a6796..5109a1b8 100644 --- a/lib/awful/mouse/snap.lua +++ b/lib/awful/mouse/snap.lua @@ -264,3 +264,5 @@ resize.add_leave_callback(function(c, _, args) end, "mouse.move") return setmetatable(module, {__call = function(_, ...) return module.snap(...) end}) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/gears/geometry.lua b/lib/gears/geometry.lua index a429abd8..2b1f2048 100644 --- a/lib/gears/geometry.lua +++ b/lib/gears/geometry.lua @@ -238,3 +238,5 @@ function gears.geometry.rectangle.area_remove(areas, elem) end return gears.geometry + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/_multi_screen.lua b/tests/_multi_screen.lua index 82aa7fe8..bc42b175 100644 --- a/tests/_multi_screen.lua +++ b/tests/_multi_screen.lua @@ -520,3 +520,5 @@ end return setmetatable(module, { __call = function(_,...) return add_steps(...) end }) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/CMakeLists.txt b/tests/examples/CMakeLists.txt index 294e678d..d591a2af 100644 --- a/tests/examples/CMakeLists.txt +++ b/tests/examples/CMakeLists.txt @@ -57,7 +57,7 @@ function(escape_string variable content escaped_content line_prefix) set(tmp_output ${content}) foreach (LINE ${var_lines}) - if(NOT LINE MATCHES "^.+--DOC_[A-Z]+$") + if(NOT LINE MATCHES "^.*--DOC_[A-Z]+") set(tmp_output ${tmp_output}\n--${line_prefix}${LINE}) endif() endforeach() @@ -259,3 +259,5 @@ foreach(file ${test_files}) endforeach() message(STATUS "Example tests passed.") + +# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80:foldmethod=marker diff --git a/tests/examples/awful/mouse/coords.lua b/tests/examples/awful/mouse/coords.lua index c6cf46fe..3a42faa3 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 24570cee..6aa158a0 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 cc56c10a..b997028c 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 a06abe28..7ca40b3b 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 2abb4490..1503a929 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 931b947c..5ee87c67 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 cf3fd646..dea446ad 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 d6b1e3ae..796494db 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 9c37ac29..f6232450 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 1e547e8c..2ac83427 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 4a49f663..7fb40fa1 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 f16ba7b5..9d680e10 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 aecb5227..f7063e52 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 dd06ab3a..d77bb8bf 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 8ecdfec2..18fa914e 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 45c76ddc..c5e94054 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 1f65cdb4..b596ab26 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 14d09a37..9faf08b6 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 a7f1a1a2..db561fd0 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 4e16cea6..0aa7ad48 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 fca27952..c80e0bd1 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 76a56f7d..5f2b510e 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 06a8731d..5de1bee6 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 47dcce80..e8046d47 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 6f8101c2..455909ae 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 b3375fbc..30e8535d 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 f70b85f6..aa56268a 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 2ef1634c..a8599a30 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 adcb2b80..9b910f11 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 5f810e2c..9e45fa48 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 088fb8d1..3aaddd64 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 981608da..3e1a2d24 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 0cb1b9fc..d01ae82a 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 08c692e6..1dc9024b 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 d08beacb..8d5155eb 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 5612eb64..ad3d30dd 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 e20c5b8c..59fe7212 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 61b115c6..babf8a36 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 083cc7d8..fbf75b23 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 1ba1c22f..81ce5372 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 18734a2a..0cf7a61a 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 60bead34..638ed056 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 dcaa9508..e43e5887 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 56ff74c2..ba6d8666 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 92be78d2..a03255f8 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 b1444ffd..cf7e45a4 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 6c874865..5f929963 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 d8cfada8..642ce08f 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 be0e3ecd..fb5e995a 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 e96ebd6d..ed06e2e6 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 1e487e37..fef1af19 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 cb1b1f4c..f445f485 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 97690967..3e8994a5 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 2a67b378..e21bdb31 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 948f3a14..4368a41c 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 686c394b..36d4c624 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 c74a5119..10f2fd5b 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 f427797b..3c8bf419 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 fabeb0bc..86f01ab0 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 baa8612e..71fbfc3f 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 ab431de3..428096e5 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 04800797..ba5dfd42 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 4bfef12a..83cc20d2 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 8184f866..93fab52b 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 30e958a4..15d58a49 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 139bb1ca..e912f965 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 284900a6..be3f6376 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 0ce04141..7296560b 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 1d4fcb88..91383e57 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 49505b07..89cf5207 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 e216c9b4..99cb78ac 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 5ae4190e..602f0fac 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 13cf1002..61fc370c 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 e1fe7842..6e7a4551 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 6885a706..93b6ca90 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 b13bddf7..71222c77 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 7c097af5..f7738f5a 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 9e46370f..6af415e0 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 a3e7c944..24c20aef 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 0e5db378..92807497 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 236b5cac..ee0e73ef 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 0b6f1f82..28c1fc8f 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 81d59cd5..14bbd4b4 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 397d7490..46674700 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 82887482..5ccca04f 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 bc162e77..f399049c 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 2a0688cc..e9bf991a 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 fe1eb674..2c2b1345 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 92402c1e..656d22e5 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 8410223d..151b525d 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 a0be1267..11fe7df4 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 4f0531af..e8ce550e 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 09654988..c13ebf13 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 c18e641b..440f6fbf 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 6ccd93b5..0a205705 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 13d5ef04..8e433fdc 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 293b1ded..0101e828 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 0f90b62c..6f3915e2 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 2dfc1e08..519f288f 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 3997a99f..ddf7c679 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 9b5d0210..bc3603e9 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 43b1b10b..4bbbf9e9 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 a8c4430b..40cb8dee 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 b9852807..a994281b 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 47d5717c..4d5d9e93 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 695d87f9..44dea3cc 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 d53c950a..bcaec4d0 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 d854a4b1..f4ac6a58 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 ae184419..d0bc3751 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 f7f0d7b8..4d201aac 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 5401e94a..de385980 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 2d94f064..58fad90a 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 d03f6910..9b4f4ceb 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 d33dac7f..f285e425 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 2e4bf039..4f20c326 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 4af7fe2b..ab9a88fb 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 69be2289..7e4e2762 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 18ba7acd..7a21342b 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 ae61daa1..a74e8db5 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 cce0b729..801218d5 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 diff --git a/tests/test-awesomerc.lua b/tests/test-awesomerc.lua index 9e88f955..fe2b294e 100644 --- a/tests/test-awesomerc.lua +++ b/tests/test-awesomerc.lua @@ -226,3 +226,5 @@ local steps = { } require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-client.lua b/tests/test-awful-client.lua index 86ba0433..5bacf765 100644 --- a/tests/test-awful-client.lua +++ b/tests/test-awful-client.lua @@ -309,3 +309,5 @@ end) require("_multi_screen")(steps, multi_screen_steps) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-layout.lua b/tests/test-awful-layout.lua index 56713f11..1d2509d4 100644 --- a/tests/test-awful-layout.lua +++ b/tests/test-awful-layout.lua @@ -120,3 +120,5 @@ for _ in ipairs(awful.layout.layouts) do end require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-rules.lua b/tests/test-awful-rules.lua index dd136d16..6391dc6e 100644 --- a/tests/test-awful-rules.lua +++ b/tests/test-awful-rules.lua @@ -296,3 +296,5 @@ local function spawn_clients() end require("_runner").run_steps{spawn_clients, unpack(tests)} + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-tag.lua b/tests/test-awful-tag.lua index e6601ab4..727359d0 100644 --- a/tests/test-awful-tag.lua +++ b/tests/test-awful-tag.lua @@ -242,3 +242,5 @@ end) require("_multi_screen")(steps, multi_screen_steps) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-miss-handlers.lua b/tests/test-miss-handlers.lua index 8a894818..c6b2baff 100644 --- a/tests/test-miss-handlers.lua +++ b/tests/test-miss-handlers.lua @@ -69,3 +69,5 @@ assert(w2.main_background.main_textbox) assert(w2.main_background == w2:get_children_by_id("main_background")[1]) require("_runner").run_steps({ function() return true end }) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-resize.lua b/tests/test-resize.lua index 7753570a..298323ef 100644 --- a/tests/test-resize.lua +++ b/tests/test-resize.lua @@ -440,3 +440,5 @@ table.insert(steps, function() end) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-struts.lua b/tests/test-struts.lua index 0fcbf45e..bed5ceb5 100644 --- a/tests/test-struts.lua +++ b/tests/test-struts.lua @@ -391,5 +391,6 @@ table.insert(steps, function() return true end) - require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80