Using Neovim in Gitpod
I’m going to show you how to use Neovim on Gitpod. This can be useful for checking and testing your Neovim configuration. The example can be found here: https://github.com/LorenzoBettini/neovim-gitpod-example. I’m using a LazyVim distribution as a demonstration. The Gitpod custom Dockerfile, “.gitpod.Dockerfile”, must be tweaked to install Neovim and its requirements (especially for using Lazyvim):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# You can find the new timestamped tags here: https://hub.docker.com/r/gitpod/workspace-full/tags FROM gitpod/workspace-full:2025-04-16-08-49-20 # Install packages that are not in the Ubuntu repos # the version in Ubuntu repos is too old for lazy.vim # shellcheck is not available at all in Ubuntu repos RUN brew update RUN brew install \ neovim \ shellcheck # install-packages is a wrapper for `apt` that helps skip a few commands in the docker env. # additional packages needed in neovim with this configuration # (tree is just to inspect folders, not needed by neovim) RUN sudo install-packages \ fzf \ ripgrep \ stow \ npm \ tree |
[…]