forked from rafi/vim-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
46 lines (41 loc) · 1.2 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
-- Rafael Bodill's Neovim entry-point
-- https://github.com/rafi/vim-config
local config = require('rafi.config')
config.ensure_lazy()
-- Start lazy.nvim plugin manager.
require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
spec = {
{ import = 'rafi.plugins' },
{ import = 'rafi.plugins.extras.lang.go' },
{ import = 'rafi.plugins.extras.lang.json' },
{ import = 'rafi.plugins.extras.lang.python' },
{ import = 'rafi.plugins.extras.lang.yaml' },
-- This will load a custom user lua/plugins.lua or lua/plugins/*
config.has_user_plugins() and { import = 'plugins' } or nil,
},
concurrency = vim.loop.available_parallelism() * 2,
defaults = { lazy = true, version = false },
dev = { path = config.path_join(vim.fn.stdpath('config'), 'dev') },
install = { missing = true, colorscheme = {} },
checker = { enabled = true, notify = false },
change_detection = { notify = false },
ui = { border = 'rounded' },
diff = { cmd = 'terminal_git' },
performance = {
rtp = {
disabled_plugins = {
'gzip',
'vimballPlugin',
'matchit',
'matchparen',
'2html_plugin',
'tarPlugin',
'netrwPlugin',
'tutor',
'zipPlugin',
},
},
},
}))
config.setup()
-- Enjoy!