Add the right vim modeline to all lua files
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
a141370704
commit
63653bed76
|
@ -71,4 +71,4 @@ file = {
|
|||
}
|
||||
}
|
||||
|
||||
-- vim: filetype=lua
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -95,3 +95,5 @@ function fair.arrange(p)
|
|||
end
|
||||
|
||||
return fair
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -100,3 +100,5 @@ end
|
|||
floating.name = "floating"
|
||||
|
||||
return floating
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -141,3 +141,5 @@ end
|
|||
magnifier.name = "magnifier"
|
||||
|
||||
return magnifier
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -49,3 +49,5 @@ function max.fullscreen.arrange(p)
|
|||
end
|
||||
|
||||
return max
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -85,3 +85,5 @@ runner.run_steps = function(steps)
|
|||
end
|
||||
|
||||
return runner
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -46,3 +46,5 @@ local steps = {
|
|||
}
|
||||
|
||||
require("_runner").run_steps(steps)
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -40,3 +40,5 @@ local steps = {
|
|||
}
|
||||
|
||||
require("_runner").run_steps(steps)
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -43,3 +43,5 @@ local steps = {
|
|||
}
|
||||
|
||||
require("_runner").run_steps(steps)
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -107,3 +107,5 @@ local steps = {
|
|||
}
|
||||
|
||||
require("_runner").run_steps(steps)
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -96,4 +96,5 @@ theme.wallpaper = theme_assets.wallpaper(
|
|||
)
|
||||
|
||||
return theme
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue