Skip to content

Does nvf offer a helper / API so that I can add a flake check to test if my config is broken? #766

Closed Answered by NotAShelf
venkyr77 asked this question in Q&A
Discussion options

You must be logged in to vote

No, we do not yet offer way of providing headless tests for your configuration. Though for a while now, I have been looking at ways this can be done. Machine tests are obviously a good start, and I took a few jabs in the past but the possible implementations were not very satisfying to say the least. I also want to lint resulting Lua config (since we can predict its path), but that will have to wait until LSPs are finished.

Do note, I'm not familiar with NixVim and I'd rather keep it that way if you don't mind. Though if you have a good idea, I would appreciate a design proposal on how tests may be implemented. From what I can see you are already familiarized with nvf's codebase, so I tru…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by venkyr77
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants