nvim-config/fnl/init.fnl

55 lines
2.6 KiB
Plaintext
Raw Normal View History

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"
2023-07-30 20:41:04 +00:00
"https://github.com/julienvincent/nvim-paredit"
"https://github.com/preservim/vim-markdown"
"https://github.com/nvim-lua/plenary.nvim"
2023-07-29 15:21:07 +00:00
{:url "https://github.com/nvim-telescope/telescope.nvim"
2023-07-30 20:41:04 +00:00
:tag :0.1.2}
2023-07-29 15:21:07 +00:00
{: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 ["https://github.com/saadparwaiz1/cmp_luasnip"
"https://github.com/rafamadriz/friendly-snippets"]}
2023-07-30 20:41:04 +00:00
"https://github.com/sainnhe/everforest"
"https://github.com/serenevoid/kiwi.nvim"
"https://github.com/tamton-aquib/duck.nvim"
]))
(let [personalize (require :personalize)]
(personalize.options)
(personalize.keymap))
2023-07-28 06:29:05 +00:00
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)
(require :setup-mason)
(require :setup-cmp)
2023-07-30 20:41:04 +00:00
(require :setup-kiwi)