-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
39 lines (34 loc) · 942 Bytes
/
init.lua
File metadata and controls
39 lines (34 loc) · 942 Bytes
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
require('utils')
require('opts')
require('cmds')
require('filetypes')
require('keys')
package.path = package.path
.. ';'
.. vim.fn.expand('$HOME')
.. '/.luarocks/share/lua/5.1/?/init.lua;'
package.path = package.path
.. ';'
.. vim.fn.expand('$HOME')
.. '/.luarocks/share/lua/5.1/?.lua;'
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',
'--single-branch',
'https://github.com/folke/lazy.nvim.git',
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
vim.loader.enable()
require('lazy').setup('plugins', {
concurrency = 16,
install = { colorscheme = { 'dracula', 'habamax' } },
defaults = { lazy = true },
dev = { path = '~/github', patterns = { 'nfrid' } },
-- checker = { enabled = true, concurrency = 4 },
})
vim.keymap.set('n', '<leader>L', '<cmd>Lazy<cr>', { desc = 'Lazy' })