-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update nvim in CI workflow #61
Open
cljoly
wants to merge
12
commits into
dev
Choose a base branch
from
ci-fixes-2023-06
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Owner
cljoly
commented
Jun 6, 2023
•
edited
Loading
edited
- fix: update nvim version in CI
Before this patch, the “global” options passed to the Telescope command were not passed down to the second prompt (the one selecting the files for instance). This would cause a change of layout set like so: ``` :Telescope repo list layout_strategy=center ``` not to be applied to the second prompt. This patch fixes that and correctly passes the options down to the second prompt. Related to #44 (might fix it)
fix: pass down the opts to the second prompts
Due to options being changed for the first picker (in particular, a custom formatter is set), the second picker was unable to open any file, it would only point to folders. This commit fixes this behavior by passing down only the user options to the second picker, along with the ones specifically needed by it. Fixes #46
The old version is too different from my local one, causing the CI to fail.
CI Update
Switch to an opened project directory, in each window and for the corresponding file. Fixes #8
The autocommand Lua API requires at least version 0.6. At the time of writing, telescope requires nvim 0.7.
Add automatic cd to projecte directories
Some debian-based systems use put `bat` under `/usr/bin/batcat`. We thus need a to look for `batcat` as well. Fixes #47 [1]: https://packages.debian.org/bullseye/amd64/bat/filelist, https://web.archive.org/web/20221016131458/https://packages.debian.org/bullseye/amd64/bat/filelist
Co-authored-by: Clément Joly <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.