mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-09-10 17:16:18 -07:00
1.4 KiB
1.4 KiB
Neovim Config
read_when: updating keymaps, startup order, or plugin layout
Load Order
init.luacore.lazy(bootstraps lazy.nvim, loads options)- colorscheme
core.keymaps(core editing, LSP, commands, and which-key groups)core.autocmdscore.highlights- Hyprland LSP helper
Where To Edit
- Options:
lua/core/options.lua - Autocmds:
lua/core/autocmds.lua - Highlights:
lua/core/highlights.lua - Keymaps entrypoint:
lua/core/keymaps/init.lua - Keymaps by domain:
lua/core/keymaps/editing.lualua/core/keymaps/lsp.lualua/core/keymaps/commands.lualua/core/keymaps/groups.lua
- Plugin setup and plugin-owned mappings:
lua/plugins/*.lua
Structure Notes
- Keep plugin specs in
lua/plugins/. - Keep core logic in
lua/core/. - Keep reusable helpers in
lua/utils/. - Put plugin mappings in the plugin spec's
keystable so Lazy can load them on demand. - Use
which-keyonly to label mapping groups.
Tool Ownership
- Formatting: Conform, with explicit formatters and no LSP fallback.
- Linting: nvim-lint on save. Codespell and pydoclint are linters.
- Completion: nvim-cmp with LuaSnip. None-ls is not part of completion.
- File browsing: Snacks Explorer.
- Notifications: Snacks Notifier. Fidget owns LSP progress, and Noice owns command/message UI.
Checks
stylua --check .
luacheck .
nvim --headless -i NONE -u ./init.lua '+qa'