Last active
January 21, 2021 00:44
-
-
Save delphinus/fc8b9fd9bbac15a59eeeafaf33d0abf1 to your computer and use it in GitHub Desktop.
Testing telescope.nvim on the latest Neovim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:21.04 | |
RUN yes | unminimize | |
RUN apt-get update && apt-get install -y \ | |
ninja-build gettext libtool libtool-bin autoconf automake cmake g++ \ | |
pkg-config unzip git man-db \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN git clone --depth 1 --single-branch \ | |
https://github.com/neovim/neovim ~/neovim \ | |
&& cd ~/neovim \ | |
&& make CMAKE_BUILD_TYPE=Release \ | |
&& make CMAKE_INSTALL_PREFIX=$HOME/local/nvim install | |
RUN echo 'export PATH=$HOME/local/nvim/bin:$PATH' >> ~/.bashrc | |
RUN echo 'nvim --version' >> ~/.bashrc | |
RUN git clone https://github.com/wbthomason/packer.nvim \ | |
~/.local/share/nvim/site/pack/packer/opt/packer.nvim | |
RUN mkdir -p ~/.config/nvim | |
RUN echo '\ | |
vim.cmd [[packadd packer.nvim]]\n\ | |
require"packer".startup(function()\n\ | |
use"wbthomason/packer.nvim"\n\ | |
use {\n\ | |
"nvim-telescope/telescope.nvim",\n\ | |
requires = {{"nvim-lua/popup.nvim"}, {"nvim-lua/plenary.nvim"}}\n\ | |
}\n\ | |
end)\n\ | |
' >> ~/.config/nvim/init.lua | |
WORKDIR /root | |
ENTRYPOINT /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need
:PackerCompile
&:PackerInstall
before using Telescope.