-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
21 lines (17 loc) · 737 Bytes
/
init.lua
File metadata and controls
21 lines (17 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- Neovim configuration entry point
-- Author: chenao
-- Optimized structure for better maintainability
-- Ensure we can find our modules from any directory
local config_path = vim.fn.stdpath("config")
-- Add config path to Lua package path if not already there
if not package.path:find(config_path, 1, true) then
package.path = config_path .. "/?.lua;" .. package.path
end
-- Load core configurations first
require("core.options") -- Basic vim options (includes netrw disable)
-- Load plugin configurations
require("plugins.init")
-- Load remaining core configurations
require("core.keymaps") -- Global key mappings
require("core.autocmds") -- Auto commands
require("core.theme") -- Theme and UI highlights