neovim-confs/init.lua

52 lines
1.6 KiB
Lua
Raw Normal View History

2023-09-06 01:26:46 +02:00
-- rafi Neovim entry-point
2023-09-06 00:26:45 +02:00
-- https://git.cscherr.de/PlexSheep/neovim-conf
2023-09-06 10:19:56 +02:00
local config = require('plex.config')
2023-09-06 00:26:45 +02:00
config.ensure_lazy()
-- Start lazy.nvim plugin manager.
require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
spec = {
2023-09-06 10:19:56 +02:00
{ import = 'plex.plugins' },
2023-09-11 14:41:20 +02:00
{ import = 'plex.plugins.extras.coding' },
2023-09-06 11:47:14 +02:00
{ import = 'plex.plugins.extras.ui' },
2023-09-06 13:00:21 +02:00
{ import = 'plex.plugins.extras.treesitter' },
2023-09-15 11:49:26 +02:00
{ import = 'plex.plugins.extras.formatting' },
2023-09-06 13:00:21 +02:00
{ import = 'plex.plugins.extras.editor' },
2023-09-06 11:47:14 +02:00
{ import = 'plex.plugins.extras.org' },
2023-09-06 10:19:56 +02:00
{ import = 'plex.plugins.extras.lang.go' },
2023-09-21 17:30:16 +02:00
{ import = 'plex.plugins.extras.lang.cpp' }, -- also does C and rust
2023-09-06 10:19:56 +02:00
{ import = 'plex.plugins.extras.lang.json' },
2023-10-25 22:00:18 +02:00
{ import = 'plex.plugins.extras.lang.polyglot' },
2023-09-06 10:19:56 +02:00
{ import = 'plex.plugins.extras.lang.python' },
{ import = 'plex.plugins.extras.lang.yaml' },
2023-09-06 00:26:45 +02:00
-- 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',
'tutor',
'zipPlugin',
},
},
},
}))
config.setup()