(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-treesitter/nvim-treesitter" :build ":TSUpdate"} ;TODO "https://github.com/julienvincent/nvim-paredit" "https://github.com/guns/vim-sexp" "https://github.com/ludovicchabant/vim-gutentags" "https://github.com/preservim/vim-markdown" "https://github.com/richardbizik/nvim-toc" "https://github.com/nvim-lua/plenary.nvim" {: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 {}} "https://github.com/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 ["https://github.com/saadparwaiz1/cmp_luasnip" "https://github.com/rafamadriz/friendly-snippets"]} {:url "https://github.com/nvim-telescope/telescope.nvim" :tag :0.1.2 :dependencies [{: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")} "https://github.com/xiyaowong/telescope-emoji.nvim"]} "https://github.com/sainnhe/everforest" "https://github.com/tamton-aquib/duck.nvim"])) (let [personalize (require :personalize)] (personalize.options) (personalize.keymap)) (set vim.g.vim_markdown_folding_disabled 1) (let [telescope (require :telescope)] (pcall (telescope.load_extension :fzf)) (pcall (telescope.load_extension :emoji))) (require :setup-treesitter) ;TODO (require :setup-paredit) (require :setup-mason) (require :setup-cmp)