ci: Add luacheck ci job (#317)
* Add luacheck ci job * Fix most of the linting issues * fixup: lint Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
This commit is contained in:
@@ -52,13 +52,17 @@ function config.set_defaults(defaults)
|
||||
set("border", {})
|
||||
set("borderchars", { '─', '│', '─', '│', '╭', '╮', '╯', '╰'})
|
||||
|
||||
set("get_status_text", function(self) return string.format("%s / %s", self.stats.processed - self.stats.filtered, self.stats.processed) end)
|
||||
set("get_status_text", function(self)
|
||||
return string.format("%s / %s", self.stats.processed - self.stats.filtered, self.stats.processed)
|
||||
end)
|
||||
|
||||
-- Builtin configuration
|
||||
|
||||
-- List that will be executed.
|
||||
-- Last argument will be the search term (passed in during execution)
|
||||
set("vimgrep_arguments", {'rg', '--color=never', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case'})
|
||||
set("vimgrep_arguments",
|
||||
{'rg', '--color=never', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case'}
|
||||
)
|
||||
set("use_less", true)
|
||||
set("color_devicons", true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user