imxiejie / ThinkVim

Vim configuration in the 21st century
MIT License
868 stars 106 forks source link

How can me make language diversity. #23

Closed emeentag closed 5 years ago

emeentag commented 5 years ago

What is your expect?

In here i am 100% sure we can diverse the languages by adding out vim file or local settings for sure. But as i see know repo seems to dedicated for specifically go. But since i start to use it i like the idea and the organisation of the repo i felt like i am using it years. Easy to change anything in vim context again so you do not need to learn any new thing specifically to that repo.

And i easily implement LSP for java. And then also implement cTags for groovy for listing my class attributes and worked perfect.

So you know most of the time for adapting your language to an editor with plugins need to apply many in-depended changes.

In here i would like to discuss with you guys how can we make a structure to integrate different languages in this setup.

But again i would like to have these features again staying in vim context. I mean not introducing new data structures etc.

Thanks.

glepnir commented 5 years ago

@emeentag cause i write the go python js react. this repo i want provide a samll and reasonable and fatest startup time configruation fram。 Programming language is so much,i cant add every language into this repo . i wont make this repo to be a second SpaceVim you know its too heavy. you can add any language which you used by coc. its very easy. cause the coc is very stronger .i hope you can grasp this config .and edit it to be your own confiig . not ThinkVim. its yours. a config that belong to you.

by the way ,i will add some practical feature plugins . cause these plugins can help anyone .

glepnir commented 5 years ago

The programming language used by most people is limited, and adding a lot of programming language support will make this repo very large, although it is easy to implement through coc. But each person who uses it does not want to see something unrelated to him appear in his configuration.

emeentag commented 5 years ago

Actually what i try to say here think about a dein window to list all available CoC lsps and make them available by selecting them?

glepnir commented 5 years ago

you can see this pic.the list is extensions that coc provide . image but most of program languages coc does not provide. you need config it in coc-settings.json see this pic image so its very difficult to implement. but for coc extensions ,you can use this extensions https://github.com/fannheyward/coc-marketplace,it wil show all coc extensions in vim and you can select them to install