Skip to content
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

Auto compile on save only works if nvim current directory is under .nfnl.fnl file directory. #37

Open
Kethku opened this issue Apr 1, 2024 · 5 comments
Labels
bug Something isn't working windows

Comments

@Kethku
Copy link

Kethku commented Apr 1, 2024

After #36 I am able to manually compile and the autocompile on save is working but only works if neovim's current directory is in one that contains the .nfnl.fnl file or a child directory under a directory that contains a .nfnl.fnl file.

I had it in my head that this wasn't a requirement before I updated but it may be I'm misunderstanding it?

@Olical Olical added the bug Something isn't working label Apr 1, 2024
@Olical
Copy link
Owner

Olical commented Apr 1, 2024

This should be the case and I can compile-on-write .fnl files from another working directory. So in my home dir I can open one of nfnl's files and write to it, the changes are reflected in the Lua. Would you be able to share your .nfnl.fnl file? Just in case it's something custom in there?

@Olical
Copy link
Owner

Olical commented May 1, 2024

Is this still an issue for you? Because I couldn't reproduce it earlier, I can try again with the same specific Neovim version as you if you let me know which one you're on. Maybe it's an OS thing though 🤔

@Kethku
Copy link
Author

Kethku commented Jun 16, 2024

Sorry I took so long to respond here. I'm very confident that this is an os thing. My .nfnl.fnl file is {}

@Kethku
Copy link
Author

Kethku commented Jun 17, 2024

I'm attempting to fix this once and for all here #42

@Olical
Copy link
Owner

Olical commented Jun 21, 2024

Ah okay! Thanks for looking into this! I'll take a look at the PR. I should really try and get some sort of nvim setup working on my gaming PC so I can test some things on Windows, not sure where to start really. I thought most people used WSL but that's just a Linux VM so there should be no work there.

Not sure how dotfiles even work for Neovim on Windows? I guess I'd need to write some config from scratch as a test bed because my personal one definitely won't work there.

@Olical Olical added the windows label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

2 participants