diff options
| author | Simen A. W. Olsen <so@bjerk.io> | 2024-05-17 09:06:35 +0200 |
|---|---|---|
| committer | Simen A. W. Olsen <so@bjerk.io> | 2024-05-17 09:06:35 +0200 |
| commit | e0b3900d8b50b499a5527e0f6d3590649fd4cefb (patch) | |
| tree | 88e03739114d539998d19495f8bc51cbc6342529 /.config/nvim/init.lua | |
| parent | e32ffed34b37c802a2178c21b6f819104fc77730 (diff) | |
| download | dotfiles-e0b3900d8b50b499a5527e0f6d3590649fd4cefb.tar.gz dotfiles-e0b3900d8b50b499a5527e0f6d3590649fd4cefb.zip | |
update of may
Diffstat (limited to '.config/nvim/init.lua')
| -rw-r--r-- | .config/nvim/init.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index c7ebd7e..ad8b33b 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1 +1,35 @@ require("simenandre") + +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + local lazyrepo = "https://github.com/folke/lazy.nvim.git" + vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) +end ---@diagnostic disable-next-line: undefined-field +vim.opt.rtp:prepend(lazypath) + +require("lazy").setup({ + { import = "simenandre.plugins" }, +}, { + ui = { + -- If you are using a Nerd Font: set icons to an empty table which will use the + -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table + icons = vim.g.have_nerd_font and {} or { + cmd = "⌘", + config = "🛠", + event = "📅", + ft = "📂", + init = "⚙", + keys = "🗝", + plugin = "🔌", + runtime = "💻", + require = "🌙", + source = "📄", + start = "🚀", + task = "📌", + lazy = "💤 ", + }, + }, +}) + +-- The line beneath this is called `modeline`. See `:help modeline` +-- vim: ts=2 sts=2 sw=2 et |
