diff options
| author | Nanderty <psopka@sopka.ch> | 2023-03-24 15:26:51 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-03-24 15:26:51 +0100 |
| commit | af7c85ef9daaf702a179a9b3d66d03eff71db7a6 (patch) | |
| tree | 7ebc99384cb68c86fc7a3f33034aab57b7f534e2 /init.lua | |
| parent | 02a1c77cad04e16005b8ab2ce18617b0ffa278b7 (diff) | |
| download | neovim-config-af7c85ef9daaf702a179a9b3d66d03eff71db7a6.tar.gz neovim-config-af7c85ef9daaf702a179a9b3d66d03eff71db7a6.tar.bz2 neovim-config-af7c85ef9daaf702a179a9b3d66d03eff71db7a6.zip | |
lazyload config
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,8 +1,5 @@ vim.g.mapleader = ' ' -require('keymaps') -require('options') - local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim' if not vim.loop.fs_stat(lazypath) then vim.fn.system({ @@ -14,11 +11,13 @@ if not vim.loop.fs_stat(lazypath) then lazypath, }) end + vim.opt.rtp:prepend(lazypath) require('lazy').setup({ spec = { { import = 'plugins' }, + { import = 'config' }, }, defaults = { lazy = true, @@ -28,11 +27,11 @@ require('lazy').setup({ performance = { rtp = { disabled_plugins = { - "gzip", - "netrwPlugin", - "tarPlugin", - "tohtml", - "zipPlugin", + 'gzip', + 'netrwPlugin', + 'tarPlugin', + 'tohtml', + 'zipPlugin', }, }, }, |
