summaryrefslogtreecommitdiff
path: root/lua/telescope/config.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2020-12-09 21:46:41 +0100
committerGitHub <noreply@github.com>2020-12-09 15:46:41 -0500
commit141dc6d55e4f53ee9527adc164a0d39725394bfd (patch)
tree335457a78d554327a7c9e550118c84a7c283a059 /lua/telescope/config.lua
parentc276db06e2981416995450a4198cef4b87170f6f (diff)
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>
Diffstat (limited to 'lua/telescope/config.lua')
-rw-r--r--lua/telescope/config.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua
index 1f793b8..de01fbd 100644
--- a/lua/telescope/config.lua
+++ b/lua/telescope/config.lua
@@ -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)