Prefer running make in lilypond files
This commit is contained in:
parent
ae33f8f713
commit
9b9b751173
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue