ej-shafran / compile-mode.nvim

A plugin for Neovim inspired by Emacs' Compilation Mode
The Unlicense
81 stars 15 forks source link

Feature Request: cmdwin file auto-completion #24

Closed odnal closed 3 months ago

odnal commented 3 months ago

Hello, I really enjoy the plugin! I am not sure if this is just bug on my side or if it's not implemented. But I was curious if there was an implementation for the auto-completion of the file being parsed in the Compile command: buffer. The <cmd> seems to auto-complete but the <file> seems to not in something like this: Compile command: <cmd> <file>

ej-shafran commented 3 months ago

Yeah, I've actually been wanting to implement that for a while. Right now the command input uses the default Vim shellcmd completion, but I want to look into forwarding the completion to the shell itself so things like file names are properly completed. I'll try and implement this feature this week - you're also welcome to give it a shot if you'd like :)

ej-shafran commented 3 months ago

I've pushed changes to nightly that should implement this feature. Mind switching over to the nightly branch and seeing if it works for you?

odnal commented 3 months ago

Works nice! You beat me to it :)