-
Notifications
You must be signed in to change notification settings - Fork 0
/
.min-init.lua
72 lines (67 loc) · 1.38 KB
/
.min-init.lua
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
vim.g.mapleader = ' '
local vimruntime = vim.fn.expand '$VIMRUNTIME'
local data = vim.fn.stdpath 'data' .. '\\'
local lazypath = data .. 'site\\pack\\lazy\\start\\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
local root = data .. 'lazy\\plugins'
local lockfile = data .. 'lazy\\lazy-lock.json'
local lazy = require 'lazy'
lazy.setup {
spec = {
},
root = root,
readme = {
enabled = false,
},
lockfile = lockfile,
performance = {
rtp = {
paths = { string.sub(vimruntime, 1, #vimruntime - 12) .. 'nvim-qt\\runtime', },
disabled_plugins = {
'gzip',
'matchit',
'matchparen',
'netrwPlugin',
'tarPlugin',
'tohtml',
'tutor',
'zipPlugin',
},
},
},
checker = {
enabled = false,
},
change_detection = {
enabled = false,
},
ui = {
icons = {
cmd = '⌘',
config = '🛠',
event = '📅',
ft = '📂',
init = '⚙',
keys = '🗝',
plugin = '🔌',
runtime = '💻',
source = '📄',
start = '🚀',
task = '📌',
lazy = '💤 ',
},
custom_keys = {
['<localleader>l'] = nil,
['<localleader>t'] = nil,
},
},
}