neoclide / coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Other
24.16k stars 954 forks source link

Add example vim configuration as file instead of inlining it in the README.md #4914

Closed r10r closed 4 months ago

r10r commented 4 months ago

Is your feature request related to a problem? Please describe.

I'm installing and updating coc.nvim release in our devcontainer from the release branch:

WORKDIR /vim/plugins  
RUN git clone --depth=1 --branch=release https://github.com/neoclide/coc.nvim.git 

I noticed that the default vim configuration changes over time should be updated along with the coc.nvim plugin. Not updating it may cause unexpected issues.

I'd like to update the example vim config within the Dockerfile e.g:

ADD https://raw.githubusercontent.com/neoclide/coc.nvim/release/package.json /etc/vim/vimrc.coc

Describe the solution you'd like

Instead of inlining the default vim configuration in the README.md it could be added as file to repository e.g to example-vim-configuration and referenced from the README.md

fannheyward commented 4 months ago

https://raw.githubusercontent.com/neoclide/coc.nvim/master/doc/coc-example-config.vim

r10r commented 4 months ago

Thanks!