lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond and neovim


From: Simon Martineau
Subject: lilypond and neovim
Date: Fri, 5 May 2023 19:04:37 +0200

Hi everyone,

I have been following the recent discussions about gvim and Sublime Text, and I would like to start a new thread about Neovim.

Thank you Kenneth for promoting nvim-lilypond-suite!

Regarding auto-completion with cmp-dictionary, it is no longer necessary to specify the dictionaries for .ly or .ily files since a recent update. It should work directly after installing the plugin and configuring this source in nvim-cmp. I have provided an example of minimal configuration in the wiki:

https://github.com/martineausimon/nvim-lilypond-suite/wiki/2.-Configuration#configuration-example

For those using another plugin manager and another completion manager, the syntax to use for dictionary file paths is as follows (there may be differences in location between packer, lazy, or other…):

$LILYDICTPATH/grobs
$LILYDICTPATH/keywords
$LILYDICTPATH/musicFunctions
$LILYDICTPATH/articulations
$LILYDICTPATH/grobProperties
$LILYDICTPATH/paperVariables
$LILYDICTPATH/headerVariables
$LILYDICTPATH/contextProperties
$LILYDICTPATH/clefs
$LILYDICTPATH/repeatTypes
$LILYDICTPATH/languageNames
$LILYDICTPATH/accidentalsStyles
$LILYDICTPATH/scales
$LILYDICTPATH/musicCommands
$LILYDICTPATH/markupCommands
$LILYDICTPATH/contextsCmd
$LILYDICTPATH/dynamics
$LILYDICTPATH/contexts
$LILYDICTPATH/translators

I am gradually improving this plugin, so please do not hesitate to let me know if there is anything that could be added or improved!

(Kenneth, I saw your post in the Tips & Tricks issue, and I am taking a little time to try to integrate some specificities of nvim-lilypond-suite into this config of nvim-overseer, such as the “main file” function and the “include_dir” option, for example…)

I wish you all a good week end!

Simon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]