chore: use stylua for formatting (#1040)

* chore: stylua job and config

* reformat with stylua
This commit is contained in:
Simon Hauser
2021-07-23 17:42:37 +02:00
committed by GitHub
parent 664690029f
commit 79644ab677
75 changed files with 3201 additions and 2809 deletions

View File

@@ -1,6 +1,6 @@
local log = require("telescope.log")
local log = require "telescope.log"
local LinkedList = require('telescope.algos.linked_list')
local LinkedList = require "telescope.algos.linked_list"
--[[
@@ -27,7 +27,7 @@ local EntryManager = {}
EntryManager.__index = EntryManager
function EntryManager:new(max_results, set_entry, info)
log.trace("Creating entry_manager...")
log.trace "Creating entry_manager..."
info = info or {}
info.looped = 0
@@ -136,7 +136,7 @@ function EntryManager:add_entry(picker, score, entry)
local info = self.info
info.maxed = info.maxed or 0
local new_container = { entry, score, }
local new_container = { entry, score }
-- Short circuit for bad scores -- they never need to be displayed.
-- Just save them and we'll deal with them later.