From 288735707bfc079df781c65c5b7645b73e4afe39 Mon Sep 17 00:00:00 2001 From: Talon Date: Thu, 27 Jul 2023 08:45:49 -0600 Subject: [PATCH] let --- fnl/lazy-setup.fnl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fnl/lazy-setup.fnl b/fnl/lazy-setup.fnl index 478fd8e..0f19656 100644 --- a/fnl/lazy-setup.fnl +++ b/fnl/lazy-setup.fnl @@ -1,13 +1,13 @@ -(local lazypath (.. (vim.fn.stdpath "data") "/lazy/lazy.nvim")) - -(if (not (vim.loop.fs_stat lazypath)) - (vim.fn.system - ["git" - "clone" - "--filter=blob:none" - "https://github.com/folke/lazy.nvim.git" - "--branch=stable" - lazypath])) +(let [lazypath (.. (vim.fn.stdpath "data") "/lazy/lazy.nvim")] + (if (not (vim.loop.fs_stat lazypath)) + (vim.fn.system + ["git" + "clone" + "--filter=blob:none" + "https://github.com/folke/lazy.nvim.git" + "--branch=stable" + lazypath])) + (vim.opt.rtp:prepend lazypath)) (let [lazy (require :lazy)] (lazy.setup @@ -58,7 +58,7 @@ ] (neodev.setup) (mason.setup) - (mason-lspconfig.setup) + (mason-lspconfig.setup {:ensure_installed (vim.tbl_keys servers)}) (mason-lspconfig.setup_handlers [(fn [server_name] (let [server (require server_name)