Skip to content

neovim の起動時間を改善する#2

Closed
harsssh wants to merge 1 commit into
mainfrom
perf/neovim-startup-time
Closed

neovim の起動時間を改善する#2
harsssh wants to merge 1 commit into
mainfrom
perf/neovim-startup-time

Conversation

@harsssh
Copy link
Copy Markdown
Owner

@harsssh harsssh commented May 28, 2026

Summary

  • performance.combinePlugins.enable = true を有効化し、30 個以上のプラグインディレクトリを統合して runtimepath スキャンコストを削減
  • copilot (copilot-lua / copilot-cmp) を nixvim モジュールから切り離し、InsertEnter の autocmd で初回のみ setup を実行するよう変更 (~6ms 削減)
  • treesitter.folding.enable = true を削除 (options.nixfoldmethod=expr を直接設定しており重複)

Test plan

  • home-manager switch でビルドが通ることを確認
  • neovim の起動が速くなったことを nvim --startuptime で計測
  • インサートモードに入ると copilot 補完が動作することを確認

🤖 Generated with Claude Code

- combinePlugins を有効化してプラグインディレクトリを統合し runtimepath スキャンを削減
- copilot を InsertEnter まで defer して node プロセス起動を遅延 (~6ms 削減)
- treesitter.folding の重複設定を削除 (options.nix で既に設定済み)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@harsssh harsssh closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant