Prefer running make in lilypond files

This commit is contained in:
flyingscorpio@clevo 2023-02-12 09:45:57 +01:00
parent ae33f8f713
commit 9b9b751173

View file

@ -15,7 +15,7 @@ vim.api.nvim_create_autocmd("VimEnter", {
-- Run lilypond after save on .ly files
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = "*.ly",
command = "!lilypond --silent %",
command = "![ -f ./Makefile ] && make || lilypond --silent %",
group = group
})
-- Toggle relative number and absolute number according to focus and insert