;; Package Management via lazy.nvim (let [lazy (require :lazy) 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) (lazy.setup ["https://github.com/rktjmp/hotpot.nvim" {:url "https://github.com/nvim-telescope/telescope.nvim" :tag "0.1.2" :dependencies ["nvim-lua/plenary.nvim"]} {:url "https://github.com/nvim-telescope/telescope-fzf-native.nvim" :build (.. "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release" " && cmake --build build --config Release" " && cmake --install build --prefix build" )} {:url "https://github.com/nvim-treesitter/nvim-treesitter" :build ":TSUpdate"} {:url "https://github.com/neovim/nvim-lspconfig" :dependencies ["https://github.com/williamboman/mason.nvim" "williamboman/mason-lspconfig.nvim" {:url "https://github.com/j-hui/fidget.nvim" :tag "legacy" :opts {}} "folke/neodev.nvim" ]} {:url "https://github.com/hrsh7th/nvim-cmp" :dependencies ["https://github.com/hrsh7th/cmp-nvim-lsp" "https://github.com/hrsh7th/cmp-buffer" "https://github.com/hrsh7th/cmp-path" "https://github.com/hrsh7th/cmp-cmdline" "https://github.com/hrsh7th/cmp-cmdline" ]} {:url "https://github.com/L3MON4D3/LuaSnip" :dependencies [{:url "https://github.com/saadparwaiz1/cmp_luasnip"} {:url "https://github.com/rafamadriz/friendly-snippets"} ]} "https://github.com/sainnhe/everforest" ])) (let [telescope (require :telescope)] (pcall (telescope.load_extension :fzf))) (require :setup-treesitter) (require :setup-mason) (require :setup-cmp) (let [personalize (require :personalize)] (personalize.keymap) (personalize.options))