Comments (3)
Thanks for the report! Just a quick question before I look into this, how is jq
involved here at all? I thought we exclusively depend on yq
(and that yq
doesn't depend on jq
). Am I understanding things wrong here?
Is it possible that you're using the python yq
? Currently papis.nvim
only works with the go yq
(sometimes the package is called yq-go
). I just checked and my yq
is version v4.35.1
whereas the last python yq
is at version 3.2.2
which aligns with what you're seeing.
from papis.nvim.
Ah that's it! I installed yq
from the arch repository with pacman -S yq
and it installs https://github.com/kislyuk/yq, which depends on jq
. The correct version is named go-yq
in the arch repos. That explains why the oj
parameters did not appear at all in the man page.
Sorry about that, I just saw that you point out the two different versions in the readme as well.
There is a positive side though: To support python-yq
, all that's needed is to replace -oj
by -j .
from papis.nvim.
Ok, great! I'm going to close this issue then. Feel free to open another one if you think we should implement compatibility with python yq
. It might be neat to automatically detect which one is installed and change the command as needed (especially if the fix is as simple as you said). I'll have a look if I get some time!
from papis.nvim.
Related Issues (20)
- Add option to insert unformatted reference HOT 1
- Enable multiple-selection in telescope picker HOT 1
- `read_yaml` should fail gracefully if yaml is malformatted HOT 1
- Attempt to concatenate upvalue 'tag_delimiter' (a nil value) in completion/source.lua HOT 1
- Lazy.nvim support, as it does not support rocks. HOT 6
- Move from lyaml luarock to yq
- <c-p> in telescope works with huge delay (possible issue with <c-p>p). HOT 4
- ps: illegal option -- q HOT 10
- Opening files should respect papis config HOT 1
- vim.loop.os_uname().sysname returns "Windows_NT" HOT 3
- Having issues with read_yaml function in papis-storage.lua HOT 5
- Setup impossible HOT 2
- Entries are faulty HOT 3
- Include nix output HOT 1
- opening references picker causes telescope error HOT 8
- Search depth in the library HOT 2
- Setup not working correctly; database file apparently inaccessible HOT 3
- NixVim documentation HOT 1
- cmp source for completing references HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papis.nvim.