diff --git a/docs/config.ld b/docs/config.ld index 6a805061..94403fe1 100644 --- a/docs/config.ld +++ b/docs/config.ld @@ -71,4 +71,4 @@ file = { } } --- vim: filetype=lua +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/hotkeys_popup/init.lua b/lib/awful/hotkeys_popup/init.lua index 513dd76c..dc65d586 100644 --- a/lib/awful/hotkeys_popup/init.lua +++ b/lib/awful/hotkeys_popup/init.lua @@ -14,3 +14,5 @@ local hotkeys_popup = { } hotkeys_popup.show_help = hotkeys_popup.widget.show_help return hotkeys_popup + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/hotkeys_popup/keys/init.lua b/lib/awful/hotkeys_popup/keys/init.lua index ce3411f3..52892793 100644 --- a/lib/awful/hotkeys_popup/keys/init.lua +++ b/lib/awful/hotkeys_popup/keys/init.lua @@ -12,3 +12,5 @@ local keys = { vim = require("awful.hotkeys_popup.keys.vim") } return keys + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/fair.lua b/lib/awful/layout/suit/fair.lua index 030728b9..dcb3d368 100644 --- a/lib/awful/layout/suit/fair.lua +++ b/lib/awful/layout/suit/fair.lua @@ -95,3 +95,5 @@ function fair.arrange(p) end return fair + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/floating.lua b/lib/awful/layout/suit/floating.lua index 3a320df1..d94672f3 100644 --- a/lib/awful/layout/suit/floating.lua +++ b/lib/awful/layout/suit/floating.lua @@ -100,3 +100,5 @@ end floating.name = "floating" return floating + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/init.lua b/lib/awful/layout/suit/init.lua index a29b2c01..5cfd9f35 100644 --- a/lib/awful/layout/suit/init.lua +++ b/lib/awful/layout/suit/init.lua @@ -16,3 +16,5 @@ return magnifier = require("awful.layout.suit.magnifier"); spiral = require("awful.layout.suit.spiral"); } + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/magnifier.lua b/lib/awful/layout/suit/magnifier.lua index 4e69c4e0..6f9bc7b0 100644 --- a/lib/awful/layout/suit/magnifier.lua +++ b/lib/awful/layout/suit/magnifier.lua @@ -141,3 +141,5 @@ end magnifier.name = "magnifier" return magnifier + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/max.lua b/lib/awful/layout/suit/max.lua index 14ea9f02..6313724c 100644 --- a/lib/awful/layout/suit/max.lua +++ b/lib/awful/layout/suit/max.lua @@ -49,3 +49,5 @@ function max.fullscreen.arrange(p) end return max + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/layout/suit/tile.lua b/lib/awful/layout/suit/tile.lua index 976b7bca..e8f0d3ee 100644 --- a/lib/awful/layout/suit/tile.lua +++ b/lib/awful/layout/suit/tile.lua @@ -321,3 +321,5 @@ tile.mouse_resize_handler = tile.right.mouse_resize_handler tile.name = tile.right.name return tile + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/mouse/finder.lua b/lib/awful/mouse/finder.lua index 86e5b34b..cb43692c 100644 --- a/lib/awful/mouse/finder.lua +++ b/lib/awful/mouse/finder.lua @@ -167,4 +167,4 @@ end return setmetatable(finder, finder.mt) --- vim: ft=lua:et:sw=4:ts=4:sts=4:tw=78 +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/tooltip.lua b/lib/awful/tooltip.lua index ca51e801..83899f3d 100644 --- a/lib/awful/tooltip.lua +++ b/lib/awful/tooltip.lua @@ -284,4 +284,4 @@ end return setmetatable(tooltip, tooltip.mt) --- vim: ft=lua:et:sw=4:ts=4:sts=4:tw=78 +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/spec/preload.lua b/spec/preload.lua index 9c5610f1..8535a2d8 100644 --- a/spec/preload.lua +++ b/spec/preload.lua @@ -2,3 +2,5 @@ -- won't be cleared and reloaded by Busted. This is needed for lgi because lgi -- is not safe to reload and yet Busted manages to do this. require("lgi") + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/_runner.lua b/tests/_runner.lua index dce58a14..c07490fe 100644 --- a/tests/_runner.lua +++ b/tests/_runner.lua @@ -85,3 +85,5 @@ runner.run_steps = function(steps) end return runner + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/_wibox_helper.lua b/tests/_wibox_helper.lua index 3612374a..d21ebbfe 100644 --- a/tests/_wibox_helper.lua +++ b/tests/_wibox_helper.lua @@ -30,3 +30,5 @@ return { create_wibox = function() return wb, textclock, img, left_layout, right_layout, layout end } + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-benchmark.lua b/tests/test-benchmark.lua index 065b8e47..5f600bdd 100644 --- a/tests/test-benchmark.lua +++ b/tests/test-benchmark.lua @@ -73,3 +73,5 @@ benchmark(redraw_textclock, "redraw textclock") benchmark(e2e_tag_switch, "tag switch") 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-focus.lua b/tests/test-focus.lua index b8c11ecd..bc8b8673 100644 --- a/tests/test-focus.lua +++ b/tests/test-focus.lua @@ -46,3 +46,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-leaks.lua b/tests/test-leaks.lua index f8b06bce..a7622fbd 100644 --- a/tests/test-leaks.lua +++ b/tests/test-leaks.lua @@ -80,3 +80,5 @@ prepare_for_collect = emit_refresh collectable(create_wibox()) 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-spawn-snid.lua b/tests/test-spawn-snid.lua index 87541583..8438cd19 100644 --- a/tests/test-spawn-snid.lua +++ b/tests/test-spawn-snid.lua @@ -40,3 +40,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-spawn.lua b/tests/test-spawn.lua index 8341f653..732c4b09 100644 --- a/tests/test-spawn.lua +++ b/tests/test-spawn.lua @@ -43,3 +43,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-urgent.lua b/tests/test-urgent.lua index 33b6d14b..9e42727f 100644 --- a/tests/test-urgent.lua +++ b/tests/test-urgent.lua @@ -107,3 +107,5 @@ local steps = { } require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/default/theme.lua b/themes/default/theme.lua index 1557c626..9577ad94 100644 --- a/themes/default/theme.lua +++ b/themes/default/theme.lua @@ -103,4 +103,5 @@ theme.awesome_icon = "@AWESOME_ICON_PATH@/awesome16.png" theme.icon_theme = nil return theme + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/sky/theme.lua b/themes/sky/theme.lua index 936d4ddd..e8fbe7e6 100644 --- a/themes/sky/theme.lua +++ b/themes/sky/theme.lua @@ -82,4 +82,5 @@ theme.titlebar_maximized_button_normal_active = "@AWESOME_THEMES_PATH@/default/t theme.titlebar_maximized_button_focus_active = "@AWESOME_THEMES_PATH@/default/titlebar/maximized_focus_active.png" return theme + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/xresources/theme.lua b/themes/xresources/theme.lua index 850c0de2..50791479 100644 --- a/themes/xresources/theme.lua +++ b/themes/xresources/theme.lua @@ -96,4 +96,5 @@ theme.wallpaper = theme_assets.wallpaper( ) return theme + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/zenburn/theme.lua b/themes/zenburn/theme.lua index 69be51de..d6a48863 100644 --- a/themes/zenburn/theme.lua +++ b/themes/zenburn/theme.lua @@ -129,3 +129,5 @@ theme.titlebar_maximized_button_normal_inactive = "@AWESOME_THEMES_PATH@/zenburn -- }}} return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80