Re: Sublime Text and point and click

2023-05-05 Thread Kenneth Flak


Cool!

If you want to get autocomplete working though, then you might have to engage 
in some voodoo, depending on which completion engine you're using. I use 
nvim-cmp, which makes it necessary to enlist the cmp-dicitionary source, and 
specify all the dictionary files in the configuration:

require('cmp_dictionary').switcher({
 filetype = {
 lilypond = {
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/grobs",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/keywords",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/musicFunctions",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/articulations",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/grobProperties",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/paperVariables",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/headerVariables",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/contextProperties",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/clefs",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/repeatTypes",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/languageNames",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/accidentalsStyles",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/scales",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/musicCommands",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/markupCommands",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/contextsCmd",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/dynamics",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/contexts",
 
"~/.local/share/nvim/site/pack/packer/start/nvim-lilypond-suite/lilywords/translators",
 }
 }
})

... and setting `dictionary` as a completion source in the cmp.setup function...

I also highly recommend setting up one of the many snippet plugins.

Best,
Kenneth

-- 
Roosna & Flak - Contemporary Dance & Music
Web: roosnaflak.com
Code: {github,gitlab}.com/kflak
Mastodon: @k...@sonomu.club
On  6 May 2023  01:02, Andrew Bernard wrote:
>No - this is great. By no means hijacked. I'll go with that. Thanks! I
>only bring up Sublime Text because I couldn;t find the relevant neovim
>documentation.
>
>Neovim is pretty good.
>
>Andrew
>
>
>On 6/05/2023 12:56 am, Kenneth Flak wrote:
>> As a matter of fact, I tried the neovim-remote version now. It's pretty 
>> straightforward to set up, and it works! Sorry to hijack the sublime text 
>> thread, but since y'all were already going on about gvim, I thought I'd butt 
>> in :-)
>




Re: Sublime Text and point and click

2023-05-05 Thread Andrew Bernard
No - this is great. By no means hijacked. I'll go with that. Thanks! I 
only bring up Sublime Text because I couldn;t find the relevant neovim 
documentation.


Neovim is pretty good.

Andrew


On 6/05/2023 12:56 am, Kenneth Flak wrote:

As a matter of fact, I tried the neovim-remote version now. It's pretty 
straightforward to set up, and it works! Sorry to hijack the sublime text 
thread, but since y'all were already going on about gvim, I thought I'd butt in 
:-)




Re: Sublime Text and point and click

2023-05-05 Thread Andrew Bernard
It's a gvim issue as I have said before on this list. It's been 
outstanding for years despite me mentioning it on their forum. Nothing 
to do with lilypond. It';s obscure as far as gvim is concerned, so it 
won't get fixed.



Andrew


On 6/05/2023 12:40 am, Christ van Willegen wrote:

(Also to the list this time...)

Op vr 5 mei 2023 16:18 schreef Andrew Bernard 
:

Gvim works but is buggy.

Would you mind filing a bug report then?

Christ van Willegen

Re: Sublime Text and point and click

2023-05-05 Thread Kenneth Flak
As a matter of fact, I tried the neovim-remote version now. It's pretty 
straightforward to set up, and it works! Sorry to hijack the sublime text 
thread, but since y'all were already going on about gvim, I thought I'd butt in 
:-)

Best,
Kenneth

-- 
Roosna & Flak - Contemporary Dance & Music
Web: roosnaflak.com
Code: {github,gitlab}.com/kflak
Mastodon: @k...@sonomu.club
On  5 May 2023  14:50, Kenneth Flak wrote:
>
>Haven't tested point and click yet with neovim (using the excellent 
>nvim-lilypond suite), but there's a section in the wiki outlining a couple of 
>strategies on how to make it work: 
>https://github.com/martineausimon/nvim-lilypond-suite/wiki/2.-Configuration#point-and-click
>
>
>--
>Roosna & Flak - Contemporary Dance & Music
>Web: roosnaflak.com
>Code: {github,gitlab}.com/kflak
>Mastodon: @k...@sonomu.club
>On  5 May 2023  16:40, Christ van Willegen wrote:
>>(Also to the list this time...)
>>
>>Op vr 5 mei 2023 16:18 schreef Andrew Bernard :
>>Gvim works but is buggy.
>>
>>Would you mind filing a bug report then?
>>
>>Christ van Willegen
>
>




Re: Sublime Text and point and click

2023-05-05 Thread Kenneth Flak


Haven't tested point and click yet with neovim (using the excellent 
nvim-lilypond suite), but there's a section in the wiki outlining a couple of 
strategies on how to make it work: 
https://github.com/martineausimon/nvim-lilypond-suite/wiki/2.-Configuration#point-and-click


-- 
Roosna & Flak - Contemporary Dance & Music
Web: roosnaflak.com
Code: {github,gitlab}.com/kflak
Mastodon: @k...@sonomu.club
On  5 May 2023  16:40, Christ van Willegen wrote:
>(Also to the list this time...)
>
>Op vr 5 mei 2023 16:18 schreef Andrew Bernard :
>Gvim works but is buggy.
>
>Would you mind filing a bug report then?
>
>Christ van Willegen




Re: Sublime Text and point and click

2023-05-05 Thread Christ van Willegen
(Also to the list this time...)

Op vr 5 mei 2023 16:18 schreef Andrew Bernard :
Gvim works but is buggy.

Would you mind filing a bug report then?

Christ van Willegen


Re: Sublime Text and point and click

2023-05-05 Thread Andrew Bernard
You can use editors with point and click. There's a section on it in the 
NR. The PDF's contains textedit links that editors can respond to in 
order to position the cursor on the line and column. So you have two way 
editing like Frescobaldi, which use the same PDF links. It used to work 
well with Atom, but that is now discontinued. Although I am a long term 
of user of emacs which also works, I don't like the buggy lilypond mode 
(altho nobody is forcing me to use the mode). Gvim works but is buggy. I 
was hoping Sublime Text may be able to work in server mode like these 
other editors and seeking people's experience.


https://lilypond.org/doc/v2.24/Documentation/usage/point-and-click

[Why don't I just use Frescobaldi? It hangs on my very large and complex 
scores, and has done so for years, but that is a different topic.]


[My context is Linux.]

Andrew


On 5/05/2023 11:02 pm, AHF wrote:

I have used Sublime Text for years. It’s my everyday text editor. But I don’t 
understand your question? What are you trying to do?





Re: Sublime Text and point and click

2023-05-05 Thread AHF
Andrew

I have used Sublime Text for years. It’s my everyday text editor. But I don’t 
understand your question? What are you trying to do?

Andrew Culver


> On May 5, 2023, at 5:43 AM, Andrew Bernard  wrote:
> 
> Has anybody been able to use Sublime Text with point and click?
> 
> Their documentation does not seem to mention it, and I have asked on the 
> forum,
> 
> 
> 
>