Hi, Getting the same error here. The first one is easy enough to fix, just have to set g:LilypondLanguage = "nederlands" in your .vimrc. The rest is more complicated. I would open an issue in the repo if I were you. First of all the plugin is not following the conventions for a plugin, so it won't load when opening a lilypond-file. Secondly the language should have a default value. This is not set. Thirdly the errors that you're getting. There's been nothing happening in the repo for 4 years, though, so I wouldn't hold my breath...
Best, Kenneth Stefan Thomas, Jun 18, 2024 at 16:00: > Unfortunately, it doesn't work: > Error detected while processing function Transpose: > line 16: > E121: Undefined variable: g:LilypondLanguage > line 23: > E488: Trailing characters: # Default: nederlands: ^Ielse # Default: > nederlands > line 36: > E121: Undefined variable: notenames > E116: Invalid arguments for function len(notenames)) > E116: Invalid arguments for function range(len(notenames)) > > Am Di., 18. Juni 2024 um 12:06 Uhr schrieb Kenneth Flak <[1] > kennethf...@protonmail.com>: > > > Yes, that should work, provided the included function works as > advertised. > > Best, > Kenneth > > Roosna & Flak > Contemporary Dance & Music > [2]https://roosnaflak.com > > > > -------- Original Message -------- > On 6/18/24 12:16, Stefan Thomas wrote: > > Dear Kenneth, > thanks for Your reply. > I already have a file lilypond.vim in ~/.vim/ftplugin/. Could I paste > the content of Transpose.vim into that file? > > Am Di., 18. Juni 2024 um 10:09 Uhr schrieb Kenneth Flak <[3] > kennethf...@protonmail.com>: > > Hi, > > The plugin is missing some vital parts, but you should be able to > get it working by renaming Transpose.vim to lilypond.vim and moving > it into the after/ftplugin folder of your (n)vim configuration. > Haven't tested it yet, though... > > Best, > Kenneth > > Stefan Thomas, Jun 18, 2024 at 09:35: > > Dear community, > > has anyone of You successfully installed LilyVimTranspose? > > See [1][4]https://github.com/gustaphe/LilyVimTranspose > > > > References: > > > > [1] [5]https://github.com/gustaphe/LilyVimTranspose > > > > > > References: > > [1] mailto:kennethf...@protonmail.com > [2] https://roosnaflak.com/ > [3] mailto:kennethf...@protonmail.com > [4] https://github.com/gustaphe/LilyVimTranspose > [5] https://github.com/gustaphe/LilyVimTranspose