nvim: Fix legendary picker
This commit is contained in:
parent
2a5e85e052
commit
cb2f901a41
3 changed files with 4 additions and 4 deletions
2
config/nvim/plugins/legendary.fnl
Normal file
2
config/nvim/plugins/legendary.fnl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
(let [legendary (require :legendary)]
|
||||||
|
(legendary.setup {}))
|
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue