-
Notifications
You must be signed in to change notification settings - Fork 0
Fix runtime shell #1199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix runtime shell #1199
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -602,7 +602,11 @@ neovim-dev: ## Set up local Neovim development environment. | |||||
| rm "$(HOME)/.config/nvim"; \ | ||||||
| fi | ||||||
| @mkdir -p "$(HOME)/.config/nvim" | ||||||
| @if [ -L "$(HOME)/.config/nvim/lua" ] || [ -d "$(HOME)/.config/nvim/lua" ]; then \ | ||||||
| rm -rf "$(HOME)/.config/nvim/lua"; \ | ||||||
| fi | ||||||
|
Comment on lines
+605
to
+607
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This Additionally, the
Comment on lines
+605
to
+607
|
||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/init.lua" "$(HOME)/.config/nvim/init.lua" | ||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/lua" "$(HOME)/.config/nvim/lua" | ||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/nvim-pack-lock.json" "$(HOME)/.config/nvim/nvim-pack-lock.json" | ||||||
| @echo "✅ Local Neovim development environment ready" | ||||||
| @echo "🚧 To restore the Nix-managed version, run 'make switch'" | ||||||
|
|
@@ -611,7 +615,11 @@ neovim-dev: ## Set up local Neovim development environment. | |||||
| neovim-upgrade: ## Update Neovim plugins. | ||||||
| @echo "📦 Updating neovim plugins..." | ||||||
| @mkdir -p ~/.config/nvim | ||||||
| @if [ -L "$(HOME)/.config/nvim/lua" ] || [ -d "$(HOME)/.config/nvim/lua" ]; then \ | ||||||
| rm -rf "$(HOME)/.config/nvim/lua"; \ | ||||||
| fi | ||||||
|
Comment on lines
+618
to
+620
|
||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/init.lua" ~/.config/nvim/init.lua | ||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/lua" ~/.config/nvim/lua | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency and better reliability in Makefiles, it's recommended to use
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: Inconsistent use of Prompt for AI agents
Suggested change
|
||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/nvim-pack-lock.json" ~/.config/nvim/nvim-pack-lock.json | ||||||
| @nvim --headless +"lua vim.pack.update()" +qa | ||||||
| @echo "✅ Neovim plugins updated" | ||||||
|
|
@@ -653,7 +661,11 @@ lua-check-neovim: ## Check Neovim configuration. | |||||
| fi | ||||||
| @echo "📝 Validating Neovim configuration syntax..." | ||||||
| @mkdir -p ~/.config/nvim | ||||||
| @if [ -L "$(HOME)/.config/nvim/lua" ] || [ -d "$(HOME)/.config/nvim/lua" ]; then \ | ||||||
| rm -rf "$(HOME)/.config/nvim/lua"; \ | ||||||
|
Comment on lines
+664
to
+665
|
||||||
| fi | ||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/init.lua" ~/.config/nvim/init.lua | ||||||
| @ln -sf "$(PWD)/home-manager/programs/neovim/lua" ~/.config/nvim/lua | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
| @if [ -f "$(PWD)/home-manager/programs/neovim/nvim-pack-lock.json" ]; then \ | ||||||
| ln -sf "$(PWD)/home-manager/programs/neovim/nvim-pack-lock.json" ~/.config/nvim/nvim-pack-lock.json; \ | ||||||
| fi | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2:
lua-check-neovimnow deletes and replaces the user's real~/.config/nvim/luatree, so a validation command becomes destructive.Prompt for AI agents