-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
74 lines (71 loc) · 1.58 KB
/
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
73
74
require 'opts' -- lua.opts
require 'keymaps' -- lua.keymaps
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim
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 = 'plugins' },
}, {
defaults = {
lazy = true,
},
checker = {
enabled = true,
notify = false,
},
ui = {
backdrop = 100,
icons = {
ft = '',
lazy = ' ',
loaded = '',
not_loaded = '',
},
border = 'rounded',
},
change_detection = {
enabled = true,
notify = false,
},
performance = {
rtp = {
disabled_plugins = {
'2html_plugin',
'tohtml',
'getscript',
'getscriptPlugin',
'gzip',
'logipat',
'netrw',
'netrwPlugin',
'netrwSettings',
'netrwFileHandlers',
'matchit',
'tar',
'tarPlugin',
'rrhelper',
'spellfile_plugin',
'vimball',
'vimballPlugin',
'zip',
'zipPlugin',
'tutor',
'syntax',
'synmenu',
'optwin',
'compiler',
'bugreport',
'ftplugin',
},
},
},
})
require 'autocmd' -- lua.autocmd
require 'usercmd' -- lua.usercmd
require 'lsp.jdtls'
vim.deprecate = function() end
-- vim: ts=2 sts=2 sw=2 et