dont always use make if justfile is not found

only overwrite makeprg to just if justfile is found, otherwise default
to the default 'make' or whatever else makeprg was selected by the
compiler plugin
This commit is contained in:
Ivar Fatland
2026-06-12 13:49:22 +02:00
parent be3defb53f
commit 88cc595583
-2
View File
@@ -381,8 +381,6 @@ do
end end
if look_for_file('justfile') then if look_for_file('justfile') then
vim.go.makeprg = 'just' vim.go.makeprg = 'just'
else
vim.go.makeprg = 'make'
end end
end end