From 79644ab67731c7ba956c354bf0545282f34e10cc Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 23 Jul 2021 17:42:37 +0200 Subject: chore: use stylua for formatting (#1040) * chore: stylua job and config * reformat with stylua --- lua/telescope/themes.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lua/telescope/themes.lua') diff --git a/lua/telescope/themes.lua b/lua/telescope/themes.lua index 3b2036b..1cd2efe 100644 --- a/lua/telescope/themes.lua +++ b/lua/telescope/themes.lua @@ -48,10 +48,10 @@ function themes.get_dropdown(opts) border = true, borderchars = { - { "─", "│", "─", "│", "╭", "╮", "╯", "╰"}, - prompt = {"─", "│", " ", "│", "╭", "╮", "│", "│"}, - results = {"─", "│", "─", "│", "├", "┤", "╯", "╰"}, - preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰"}, + { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, + prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" }, + results = { "─", "│", "─", "│", "├", "┤", "╯", "╰" }, + preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, }, } @@ -71,11 +71,11 @@ function themes.get_cursor(opts) opts = opts or {} local theme_opts = { - theme = 'cursor', + theme = "cursor", - sorting_strategy = 'ascending', + sorting_strategy = "ascending", results_title = false, - layout_strategy = 'cursor', + layout_strategy = "cursor", layout_config = { width = function(_, _, _) return 80 @@ -86,14 +86,14 @@ function themes.get_cursor(opts) end, }, borderchars = { - { '─', '│', '─', '│', '╭', '╮', '╯', '╰'}, - prompt = {'─', '│', ' ', '│', '╭', '╮', '│', '│'}, - results = {'─', '│', '─', '│', '├', '┤', '╯', '╰'}, - preview = { '─', '│', '─', '│', '╭', '╮', '╯', '╰'}, + { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, + prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" }, + results = { "─", "│", "─", "│", "├", "┤", "╯", "╰" }, + preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, }, } - return vim.tbl_deep_extend('force', theme_opts, opts) + return vim.tbl_deep_extend("force", theme_opts, opts) end --- Ivy style theme. @@ -126,7 +126,7 @@ function themes.get_ivy(opts) prompt = { "─", " ", " ", " ", "─", "─", " ", " " }, results = { " " }, -- results = { "a", "b", "c", "d", "e", "f", "g", "h" }, - preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰"}, + preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, }, }, opts) end -- cgit v1.2.3