2023-07-29 15:21:07 +00:00
|
|
|
(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"}
|
2023-07-30 21:17:03 +00:00
|
|
|
;TODO "https://github.com/julienvincent/nvim-paredit"
|
|
|
|
"https://github.com/preservim/vim-markdown"
|
|
|
|
"https://github.com/richardbizik/nvim-toc"
|
|
|
|
"https://github.com/nvim-lua/plenary.nvim"
|
2023-07-29 15:21:07 +00:00
|
|
|
{: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 {}}
|
2023-07-30 21:17:03 +00:00
|
|
|
"https://github.com/folke/neodev.nvim"]}
|
2023-07-29 15:21:07 +00:00
|
|
|
{: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"]}
|
2023-07-30 21:17:03 +00:00
|
|
|
{: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")}]}
|
2023-07-30 20:41:04 +00:00
|
|
|
"https://github.com/sainnhe/everforest"
|
2023-07-30 21:17:03 +00:00
|
|
|
"https://github.com/tamton-aquib/duck.nvim"]))
|
2023-07-30 20:41:04 +00:00
|
|
|
|
|
|
|
(let [personalize (require :personalize)]
|
|
|
|
(personalize.options)
|
|
|
|
(personalize.keymap))
|
2023-07-28 06:29:05 +00:00
|
|
|
|
2023-07-30 21:17:03 +00:00
|
|
|
(set vim.g.vim_markdown_folding_disabled 1)
|
|
|
|
|
2023-07-29 15:21:07 +00:00
|
|
|
(let [telescope (require :telescope)]
|
2023-07-28 06:29:05 +00:00
|
|
|
(pcall (telescope.load_extension :fzf)))
|
|
|
|
|
2023-07-28 14:26:18 +00:00
|
|
|
(require :setup-treesitter)
|
2023-07-30 21:17:03 +00:00
|
|
|
;TODO (require :setup-paredit)
|
2023-07-28 14:26:18 +00:00
|
|
|
(require :setup-mason)
|
|
|
|
(require :setup-cmp)
|