fancy config editing with vim for json?

70 просмотров
Перейти к первому непрочитанному сообщению

Sebastian Gödecke

не прочитано,
29 янв. 2024 г., 09:02:4929 янв.
– vim...@googlegroups.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
Sebastian Gödecke

Sebastian Gödecke

не прочитано,
7 мар. 2024 г., 04:22:047 мар.
– vim...@googlegroups.com
Ping....
is there another way to get this behavior?
Regards Sebastian

Christian Brabandt

не прочитано,
7 мар. 2024 г., 07:59:597 мар.
– vim...@googlegroups.com
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

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 <
> simps...@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

Sebastian Gödecke

не прочитано,
8 мар. 2024 г., 01:57:038 мар.
– vim...@googlegroups.com
Am Do., 7. März 2024 um 13:59 Uhr schrieb Christian Brabandt <cbl...@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 <
> simps...@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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Zem6RtT8Gwm95A5/%40256bit.org.

Alessandro Antonello

не прочитано,
8 мар. 2024 г., 06:39:188 мар.
– vim...@googlegroups.com
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.

Sebastian Gödecke

не прочитано,
8 мар. 2024 г., 08:17:538 мар.
– vim...@googlegroups.com
Am Fr., 8. März 2024 um 12:39 Uhr schrieb Alessandro Antonello <antone...@gmail.com>:
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.

Yeah, that's great. Exactly what i mean. Thanks
Regards Sebastian

 
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений