feat(neovim): upgrade kickstart neovim configuration (#128)
Besides upgrading `kickstart` configuration, the following changes were made: * add `avante` to start working with `AI` code generation and reduce code boilerplate creation * configure ide image/container with environment variables: * `NVIM_GIT_USER_EMAIL`: email associated with git commit * `NVIM_GIT_USER_NAME`: name associated with git commit * `NVIM_ANTHROPIC_API_KEY`: `anthropic` api key, used by `avante` * `NVIM_GH_TOKEN`: `github` token, used by `github cli` Reviewed-on: #128 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
@@ -184,7 +184,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp
|
||||
COPY ./config/nvim/lua/custom/plugins/init.lua /tmp
|
||||
RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \
|
||||
&& cd ${XDG_CONFIG_HOME}/nvim \
|
||||
&& git reset --hard 4120893b8a1f31a0957f2f891f7fbef73ddfb9b1 \
|
||||
&& git reset --hard 8d1ef972bc32faa86fee21a57f9033b41f612ebb \
|
||||
&& git apply /tmp/updates.patch \
|
||||
&& cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \
|
||||
&& nvim --headless "+Lazy! sync" +qa
|
||||
|
Reference in New Issue
Block a user