-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
29 lines (27 loc) · 801 Bytes
/
Copy pathinit.lua
File metadata and controls
29 lines (27 loc) · 801 Bytes
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
local vim = vim
--- Basic configuration (does not require plugins):
require("basic")
--- $HOME/.config/nvim/lua/basic.lua
---- $HOME/.config/nvim/lua/options.lua
---- $HOME/.config/nvim/lua/keymappings.lua
---- $HOME/.config/nvim/lua/autocmds.lua
--- Install Lazy for plugin management
--- @type function
local lazy_setup = require("config.lazy")
--- $HOME/.config/nvim/lua/config/lazy.lua
---- $HOME/.config/nvim/lua/conda-env.lua
--- Load plugins with Lazy
---@type table
local lazy_spec = {
spec = {
{ import = "plugins" },
--- $HOME/.config/nvim/lua/plugins/init.lua
---- $HOME/.config/nvim/lua/plugins/
---- $HOME/.config/nvim/lua/plugins/cmp.lua
},
}
---@type boolean
local status, _ = pcall(lazy_setup, lazy_spec)
if not status then
print("Failed to lazy load plugins!")
end