-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
48 lines (45 loc) Β· 1.42 KB
/
init.lua
File metadata and controls
48 lines (45 loc) Β· 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require 'opts'
require 'keys'
require 'aucmds'
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
local out = vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
if vim.v.shell_error ~= 0 then
error('Error cloning lazy.nvim:\n' .. out)
end
end ---@diagnostic disable-next-line: undefined-field
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
require 'plugs.treesitter',
require 'plugs.lsp',
require 'plugs.cmp',
require 'plugs.mini',
require 'plugs.mine',
require 'plugs.lang',
require 'plugs.qol',
require 'plugs.dap',
require 'plugs.ai',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-π-plugin-spec`
}, {
ui = {
icons = vim.g.have_nerd_font and {} or {
cmd = 'β',
config = 'π ',
event = 'π
',
ft = 'π',
init = 'β',
keys = 'π',
plugin = 'π',
runtime = 'π»',
require = 'π',
source = 'π',
start = 'π',
task = 'π',
lazy = 'π€ ',
},
},
})