1
0
Fork 0

nvim: Fix legendary picker

This commit is contained in:
Daniel Kempkens 2022-04-05 23:36:29 +02:00
parent 2a5e85e052
commit cb2f901a41
3 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,2 @@
(let [legendary (require :legendary)]
(legendary.setup {}))

View file

@ -12,6 +12,7 @@
; Mappings ; Mappings
:mappings {:i {:<esc> actions.close}}} :mappings {:i {:<esc> actions.close}}}
:extensions {:ui-select [(themes.get_dropdown {})]}}) :extensions {:ui-select [(themes.get_dropdown {})]}})
(telescope.load_extension :ui-select)
(let [augroup (vim.api.nvim_create_augroup :NifocTelescope {:clear true}) (let [augroup (vim.api.nvim_create_augroup :NifocTelescope {:clear true})
aucmd vim.api.nvim_create_autocmd] aucmd vim.api.nvim_create_autocmd]
(aucmd :FileType {:pattern :TelescopePrompt (aucmd :FileType {:pattern :TelescopePrompt

View file

@ -65,10 +65,7 @@ in
# Keybindings # Keybindings
{ {
plugin = legendary-nvim; plugin = legendary-nvim;
config = '' config = builtins.readFile ../../config/nvim/plugins/legendary.fnl;
(let [legendary (require :legendary)]
(legendary.setup))
'';
type = "fennel"; type = "fennel";
} }