Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not use folding in jumping #6

Open
delphinus opened this issue Oct 8, 2019 · 1 comment
Open

Should not use folding in jumping #6

delphinus opened this issue Oct 8, 2019 · 1 comment

Comments

@delphinus
Copy link

With using folding, Aerojump window keeps folding and it hides highlighted search strings. It should disable folding in searching.

asciicast

reproducible Dockerfile
FROM python:3.7.4

RUN apt-get update && apt-get install -y \
    ninja-build gettext libtool libtool-bin autoconf automake cmake g++ \
    pkg-config unzip \
    git \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

RUN git clone --depth 1 --single-branch --branch v0.4.2 https://github.com/neovim/neovim ~/neovim \
 && cd ~/neovim \
 && make CMAKE_BUILD_TYPE=Release \
 && make install

RUN mkdir -p ~/test \
 && git clone https://github.com/ripxorip/aerojump.nvim ~/test/aerojump.nvim

RUN pip3 install pynvim

RUN mkdir -p ~/.config/nvim
RUN echo '\
set runtimepath^=~/test/aerojump.nvim\n\
nmap # <Plug>(AerojumpDefault)\n\
set foldmethod=marker\n\
' >> ~/.config/nvim/init.vim

RUN echo '\
#!/usr/bin/env perl\n\
use 5.14.0;\n\
use warnings;\n\
\n\
sub main { #{{{\n\
    say 'Hello, World!';\n\
} #}}}\n\
\n\
main if $0 eq __FILE__;\n\
' >> ~/foo.pl

RUN echo 'python3 -V' >> ~/.bashrc
RUN echo '( cd ~/test/aerojump.nvim && echo "aerojump.nvim: $(git rev-parse --short HEAD)" )' >> ~/.bashrc
RUN echo '( cd ~/neovim             && echo "neovim:        $(git rev-parse --short HEAD)" )' >> ~/.bashrc
RUN echo 'nvim --version' >> ~/.bashrc
RUN nvim +UpdateRemotePlugins +q
WORKDIR /root
ENTRYPOINT /bin/bash
@ripxorip
Copy link
Owner

ripxorip commented Oct 8, 2019

This one is quite tricky, there are a couple of things that need to happen upon selection. Open the fold etc. I will do some investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants