Friday, March 8, 2024

Re: fancy config editing with vim for json?

Hi, Sebastian.

If you don't mind to install NodeJS, you can try CoC (https://github.com/neoclide/coc.nvim). It has a lot of plugins to several different languages and one can port plugins that work with VSCode to work with CoC. In fact, I use the 'coc-json' plugin that does just that: get a JSON schema and pop the completion for you. There is a little bit of configuration though.

Regards.

Em sex., 8 de mar. de 2024 às 03:57, 'Sebastian Gödecke' via vim_use <vim_use@googlegroups.com> escreveu:


Am Do., 7. März 2024 um 13:59 Uhr schrieb Christian Brabandt <cblists@256bit.org>:
Hi,
I am not sure what exactly you want and what you mean with loading the
schema and setting the options for auto complete. I guess you may want
to look at the following plugin however. https://github.com/Quramy/vison


Ah okay, i take a look at this. 

But what i mean is this here:
It's for VSCode. When editing the config-file from meshcentral, there will be all options for meshcentral with an explanation for the options, autocomplete etc. 

I thought, something similar will be available for vim. 

Regards Sebastian

 
Thanks,
Chris

On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote:

> Ping....
> is there another way to get this behavior?
> Regards Sebastian
>
> Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke <
> simpsonetti@googlemail.com>:
>
> > Hi there,
> > is there a way to load a schema for json in vim and then have the right
> > options in autocomplete?
> >
> > Thanks in advance.
> >

Mit freundlichen Grüßen
Christian
--
Telling the truth to people who misunderstand you is generally promoting
a falsehood, isn't it?
                -- A. Hope

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Zem6RtT8Gwm95A5/%40256bit.org.


--
Mit freundlichen Grüßen
Sebastian Gödecke

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CA%2BJN8RK%2BBkuhXErD8RwkPK%2BuJ1u27f4GNpqFG0%3DnbpVCXbayMg%40mail.gmail.com.

No comments: