summaryrefslogtreecommitdiff
path: root/lua/telescope/themes.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-07-23 17:42:37 +0200
committerGitHub <noreply@github.com>2021-07-23 11:42:37 -0400
commit79644ab67731c7ba956c354bf0545282f34e10cc (patch)
treee65dbf73b3442ab1aa9fc59fc56a35b4c9edf1e0 /lua/telescope/themes.lua
parent664690029fdb302bee8d3f27a458383e8477add7 (diff)
chore: use stylua for formatting (#1040)
* chore: stylua job and config * reformat with stylua
Diffstat (limited to 'lua/telescope/themes.lua')
-rw-r--r--lua/telescope/themes.lua26
1 files changed, 13 insertions, 13 deletions
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