summaryrefslogtreecommitdiffstats
path: root/after/plugin/actionpreview.lua
blob: 750e06b6776b28fc217fbc3059f40fabb2a3c3d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local status_ok, actions = pcall(require, "actions-preview")
if not status_ok then
	return
end

actions.setup {
  backend = { "telescope" },
  telescope = require("telescope.themes").get_dropdown {
    borderchars = {
      prompt  = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
      results = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
      preview = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
    },
    layout_strategy = 'cursor',
  }
}