add skeleton file structure
This commit is contained in:
parent
bc35923fe2
commit
e112d0d61e
9 changed files with 76 additions and 10 deletions
7
lua/autocmds.lua
Normal file
7
lua/autocmds.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Non-plugin autocommands (minimal placeholder for bootstrap)
|
||||
local aug = vim.api.nvim_create_augroup('UserDefaults', { clear = true })
|
||||
|
||||
-- Add specific autocmds in later phases
|
||||
|
||||
return {}
|
||||
|
||||
8
lua/keymaps.lua
Normal file
8
lua/keymaps.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Non-plugin keymaps (kept intentionally minimal for bootstrap)
|
||||
local map = vim.keymap.set
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
-- Add non-plugin keymaps during Phase 3 when porting settings
|
||||
|
||||
return {}
|
||||
|
||||
0
lua/plugins/.gitkeep
Normal file
0
lua/plugins/.gitkeep
Normal file
4
lua/plugins/init.lua
Normal file
4
lua/plugins/init.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-- Placeholder to let lazy.nvim import the `plugins` module before specs exist.
|
||||
-- Individual plugin specs will be added as separate files in this directory.
|
||||
return {}
|
||||
|
||||
9
lua/settings.lua
Normal file
9
lua/settings.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- Minimal settings for bootstrap phase
|
||||
|
||||
-- Disable unused language providers early; enable later only if a plugin requires them
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
vim.g.loaded_perl_provider = 0
|
||||
vim.g.loaded_node_provider = 0
|
||||
|
||||
-- Additional non-plugin options will be migrated in Phase 3
|
||||
|
||||
10
lua/utils.lua
Normal file
10
lua/utils.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local M = {}
|
||||
|
||||
function M.safe_require(name)
|
||||
local ok, mod = pcall(require, name)
|
||||
if ok then return mod end
|
||||
return nil
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue