-
if I modify the github repo's lua configuration locally, the behavior won't change, and it's sure a good thing. But is there a way to quickly write & evaluate the nvim configuration by just modifying the config directly? Should I re-build flake every time when I change sth to see what happens? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hey 👋 My workflow is usually
Although it is a slightly slower feedback loop, I find it beneficial, because if something breaks severely, I can still use my unmodified config to fix things. If you're working on something where you need a faster feedback loop, you can copy the module you're working on to your |
Beta Was this translation helpful? Give feedback.
-
I try this one just now, but nvim seems to not load my script. I place a |
Beta Was this translation helpful? Give feedback.
-
It won't source an An alternative might be to put your script in |
Beta Was this translation helpful? Give feedback.
-
This practice should be documented in README for those like me who's not so farmiliar with nix |
Beta Was this translation helpful? Give feedback.
-
One more question, if I newly add a nvim config file, maybe Concretely, when I try to introduce pylsp into the configuration, the above procedure don't work. I then add the line Correct me if I'm wrong. |
Beta Was this translation helpful? Give feedback.
-
With nix flakes, only files that have been staged ( |
Beta Was this translation helpful? Give feedback.
With nix flakes, only files that have been staged (
git add
) or committed will be added to the derivation.