sopa0 / telescope-makefile

GNU Affero General Public License v3.0
71 stars 11 forks source link

GNU make incorrectly detected #6

Open de-passage opened 1 year ago

de-passage commented 1 year ago

System: Ubuntu 20.04 running in WSL2 zsh 5.8 Neovim 0.8.1 GNU Make 4.2.1

Description: When executing :Telescope make, I get an information message 'No make target` even with a proper Makefile in the current directory. After investigation it appears that my make version is incorrectly detected as being BSD. I suspect this is some behavior difference between bash and zsh leading the bash expression in make.lua to produce an unexpectedly empty result.
I'll have a PR fixing this problem and #5 asap.