mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
few bugfixes, mini.files
This commit is contained in:
parent
4ceceff9bf
commit
14fec02d63
9 changed files with 149 additions and 162 deletions
|
|
@ -1,6 +1,6 @@
|
|||
vim.g.mapleader = ' '
|
||||
-- If lazy_opts is set, we're running in wrapped neovim via nix
|
||||
if not lazy_opts then
|
||||
if not LAZY_OPTS then
|
||||
-- Bootstrapping lazy.nvim
|
||||
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
|
|
@ -14,14 +14,19 @@ if not lazy_opts then
|
|||
}
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
lazy_opts = {
|
||||
LAZY_OPTS = {
|
||||
spec = { { import = 'plugins' } },
|
||||
disabled_plugins = {
|
||||
'netrwPlugin',
|
||||
'tutor',
|
||||
'zipPlugin',
|
||||
performance = {
|
||||
reset_packpath = false,
|
||||
rtp = {
|
||||
reset = false,
|
||||
disabled_plugins = {
|
||||
"netrwPlugin",
|
||||
"tutor",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
require('lazy').setup(lazy_opts)
|
||||
require('lazy').setup(LAZY_OPTS)
|
||||
require('config')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue