diff options
| author | JackJ30 <jackqjamison@gmail.com> | 2025-05-27 21:45:51 -0400 |
|---|---|---|
| committer | JackJ30 <jackqjamison@gmail.com> | 2025-05-27 21:45:51 -0400 |
| commit | 80351c2cde0845c894466dd83b0554e4f96cbcb0 (patch) | |
| tree | 8783146cc0319df20e3edb85615c09e6d1b8a3e0 /.config/nvim/init.lua | |
| parent | 41b74f66946213b6efc4134a514fd5ab76b03353 (diff) | |
new nvim
Diffstat (limited to '.config/nvim/init.lua')
| -rw-r--r-- | .config/nvim/init.lua | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index dc60c4f..8fd5abe 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,6 +1,24 @@ -require("misc") -require("settings") -require("remap") +require('user.options') +require('user.keymaps') +require('user.autocmds') + +local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim' +if not vim.loop.fs_stat(lazypath) then + vim.fn.system { + 'git', + 'clone', + '--filter=blob:none', + 'https://github.com/folke/lazy.nvim.git', + '--branch=stable', -- latest stable release + lazypath, + } +end +vim.opt.rtp:prepend(lazypath) + +require('lazy').setup( + 'user.plugins', + { + change_detection = { enabled = false } + } +) --- add plugins -require("lazy-nvim") |
