1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-17 14:14:47 +01:00

nvim: minor fixes for lilypond plugin

This commit is contained in:
2026-03-15 00:42:10 +01:00
parent 108d14dcf9
commit b851688de1
2 changed files with 6 additions and 1 deletions

View File

@@ -54,4 +54,8 @@ if vim.b.first_start_lilypond then
end
vim.b.first_start_lilypond = true
vim.cmd.Viewer()
vim.schedule(function()
if vim.fn.exists(":Viewer") == 2 then
vim.cmd.Viewer()
end
end)