diff --git a/config/nvim/plugins/legendary.fnl b/config/nvim/plugins/legendary.fnl new file mode 100644 index 0000000..dee324b --- /dev/null +++ b/config/nvim/plugins/legendary.fnl @@ -0,0 +1,2 @@ +(let [legendary (require :legendary)] + (legendary.setup {})) diff --git a/config/nvim/plugins/telescope.fnl b/config/nvim/plugins/telescope.fnl index d8d5256..78ca35c 100644 --- a/config/nvim/plugins/telescope.fnl +++ b/config/nvim/plugins/telescope.fnl @@ -12,6 +12,7 @@ ; Mappings :mappings {:i {: actions.close}}} :extensions {:ui-select [(themes.get_dropdown {})]}}) + (telescope.load_extension :ui-select) (let [augroup (vim.api.nvim_create_augroup :NifocTelescope {:clear true}) aucmd vim.api.nvim_create_autocmd] (aucmd :FileType {:pattern :TelescopePrompt diff --git a/programs/nvim/default.nix b/programs/nvim/default.nix index ae0cfab..1260892 100644 --- a/programs/nvim/default.nix +++ b/programs/nvim/default.nix @@ -65,10 +65,7 @@ in # Keybindings { plugin = legendary-nvim; - config = '' - (let [legendary (require :legendary)] - (legendary.setup)) - ''; + config = builtins.readFile ../../config/nvim/plugins/legendary.fnl; type = "fennel"; }