3 ms·
Probably what I like about my NeoVim setup (an organic, home-grown completely from scratch mess of .vim and .lua files) the most is universal containerized lang
by strogonoff 3y ago
Probably what I like about my NeoVim setup (an organic, home-grown completely from scratch mess of .vim and .lua files) the most is universal containerized language server for any project.
It gets me go to definition, peek definition, etc. in TypeScript, Python and probably anything else LSP-compatible without polluting my main machine with any of those development environments and only requires Docker.
The editor detects a special INI file in project directory and launches a Docker container that runs a language server. The INI file can specify a common Dockerfile (works for zero-install Yarn where it mounts repository root as read-only volume and just works(tm)) or a project-specific Dockerfile that does some system setup (useful in case of complex Python/Django backends, for example).
I’d be curious to try a configuration like LazyVim if it supported something like that out of the box, but last time I checked most of these were written in mind with LSP running directly on your host.