my dotfiles for arch
1require("set")
2require("remap")
3
4-- [[ Install `lazy.nvim` plugin manager ]]
5-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
6local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
7if not (vim.uv or vim.loop).fs_stat(lazypath) then
8 local lazyrepo = "https://github.com/folke/lazy.nvim.git"
9 local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
10 if vim.v.shell_error ~= 0 then
11 error("Error cloning lazy.nvim:\n" .. out)
12 end
13end
14
15---@type vim.Option
16local rtp = vim.opt.rtp
17rtp:prepend(lazypath)
18
19require("lazy").setup({
20 import = "plugins",
21}, {
22 ui = {
23 icons = vim.g.have_nerd_font and {} or {
24 cmd = "⌘",
25 config = "🛠",
26 event = "📅",
27 ft = "📂",
28 init = "⚙",
29 keys = "🗝",
30 plugin = "🔌",
31 runtime = "💻",
32 require = "🌙",
33 source = "📄",
34 start = "🚀",
35 task = "📌",
36 lazy = "💤 ",
37 },
38 },
39})
40
41-- The line beneath this is called `modeline`. See `:help modeline`
42-- vim: ts=2 sts=2 sw=2 et