diff options
Diffstat (limited to 'nvim/.config/nvim/init.lua')
-rw-r--r-- | nvim/.config/nvim/init.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua new file mode 100644 index 0000000..d3ebf8f --- /dev/null +++ b/nvim/.config/nvim/init.lua @@ -0,0 +1,25 @@ +vim.g.mapleader = " " +vim.g.maplocalleader = " " + +local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" +if not vim.uv.fs_stat(lazypath) then + vim.fn.system { + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + } +end + +-- Add lazy to the `runtimepath`, this allows us to `require` it. +---@diagnostic disable-next-line: undefined-field +vim.opt.rtp:prepend(lazypath) + +-- Set up lazy, and load my `lua/custom/plugins/` folder +require("lazy").setup({ import = "custom/plugins" }, { + change_detection = { + notify = false, + }, +}) |