nvim-jqx
nsd
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim-jqx
-
nvim-jqx update: bug fix for yaml files + syntax highlight
nvim-jqx is your neovim interface to json and yaml files1: in the last release I have fixed a few bugs introduced by the latest changes in `yq` grammar and have added treesitter syntax highlight to the floating buffer (invoked when querying the json or yaml keys, why I had not done it before already is beyond my memory :p):
-
Share your quickfix workflow
browse json files content (nvim-jqx)
-
nvim-jqx: release v0.1.0 - browse and preview json files in neovim
As far as I know there is no other plugin at the moment that interfaces neovim with json files, and more often than not we see questions here where people suggest to reformat json files via python or some other :%!. Well, with jqx you have it all in one place, so you may find it useful: have a look at the repository and feel free to open up issues with improvements or suggestions!
-
Best way to validate and format json files.
Have you tried nvim-jqx?
-
Cannot formatting JSON with jq in Neovim on Windows
By the way, nvim-jqx can come to your rescue.
-
Vim's Filter and a Badly Formatted JSON Doc
...or you can use nvim-jqx (neovim only though) :p
- JSON path of current cursor position?
-
I love jq, I hate jq. Help a competent grepper get a grasp on the terse language!
P. S. If you are using neovim nvim-jqx is a jq wrapper that populates entries in the quickfix window. Spoiler alert: I am the author (so in this case you can shoot the messenger :p)!
-
(WIP & help wanted) yaml.nvim
Potentially related: nvim-jqx wraps around yq to populate the quickfix window with yaml keys, moreover supporting (limited) queries with autocompletion.
-
What plugins are you using and enjoying the most?
nvim-jqx
nsd
-
Announcing Hush, a modern shell scripting language
Repository of scripts written in the language - https://github.com/ngs-lang/nsd
-
Bash functions are better than I thought
> there isn't really an entry point in murex scripts
I have a nice trick in NGS for that. Under the idea that "small scripts should not suffer", script is running top to bottom without "entry point". However, if the script has defined main() function, it is invoked (with command line arguments passed).
Example - https://github.com/ngs-lang/nsd/blob/afe0cad5e506ec4ee2fa924...
> `args` still contains more boilerplate code than I'm happy with
Is there anything preventing you to have exactly the same functionality but with syntactic sugar that it looks like parameters declaration? (Just to be clear, keeping all the ARGV machinery).
Something like (assuming local variables are supported; if not, it could still be $args[Flags] etc):
function hippo(name:str, hungry:bool) {
-
I love jq, I hate jq. Help a competent grepper get a grasp on the terse language!
NGS Scripts Dumpster - collection of small scripts in NGS
- GitHub – nushell/nushell: A new type of shell
-
No, you can't do it better in Python or bash (challenge)
Doing DevOps today? 99% either abuse bash or abuse a general purpose programming language.
bash does not meet any modern expectations from a programming language: syntax, error handling, data structures
General purpose languages such as Python, Ruby, etc are not domain specific enough to have the desired facilities.
Here is small example of straightforward solution to a small problem: list all CloudFormation stacks that are managed by the given CodePipeline.
https://github.com/ngs-lang/nsd/blob/02d66abb844b7dd6077b9976e3a03659cf4b3660/aws/codepipeline/pipeline-stacks.ngs
- Which CloudFormation stacks are managed by a CodePipeline - script
-
Delete CloudFormation Stack Including S3 Objects
The script is at https://github.com/ngs-lang/nsd/blob/master/aws/cloudformation/delete-stack.ngs
- What is your favorite shell and why
What are some alternatives?
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
ngs - Next Generation Shell (NGS)
jq - Command-line JSON processor
bash-core - Core functions for any Bash program.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
oh - A new Unix shell.
yaml.nvim - 🍒 YAML toolkit for Neovim users
fx - Terminal JSON viewer & processor
up - Ultimate Plumber is a tool for writing Linux pipes with instant live preview
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
lens.vim - A Vim Automatic Window Resizing Plugin
nushell - A new type of shell