{"id":13898259,"url":"https://github.com/bfrg/vim-jq","last_synced_at":"2025-04-09T19:24:09.152Z","repository":{"id":45587153,"uuid":"193017069","full_name":"bfrg/vim-jq","owner":"bfrg","description":"Vim runtime files for jq (the command-line JSON processor)","archived":false,"fork":false,"pushed_at":"2023-05-03T09:24:20.000Z","size":17,"stargazers_count":32,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T21:22:47.956Z","etag":null,"topics":["jq","jq-cli","vim","vim-ftplugin","vim-plugin","vim-syntax"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-21T02:31:56.000Z","updated_at":"2025-02-20T09:27:52.000Z","dependencies_parsed_at":"2024-02-23T12:03:07.481Z","dependency_job_id":null,"html_url":"https://github.com/bfrg/vim-jq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfrg%2Fvim-jq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfrg%2Fvim-jq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfrg%2Fvim-jq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfrg%2Fvim-jq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfrg","download_url":"https://codeload.github.com/bfrg/vim-jq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248096277,"owners_count":21047014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jq","jq-cli","vim","vim-ftplugin","vim-plugin","vim-syntax"],"created_at":"2024-08-06T18:04:11.631Z","updated_at":"2025-04-09T19:24:09.104Z","avatar_url":"https://github.com/bfrg.png","language":"Vim Script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# vim-jq\n\nVim runtime files for [jq][jq] script files (the command-line JSON processor).\n\nIf you are looking for a Vim plugin that runs jq interactively in Vim similar to\n[jqplay.org][jqplay], see [vim-jqplay][vim-jqplay].\n\n\n## Syntax highlighting\n\n#### Screenshot\n\n\u003cdl\u003e\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/6266600/59893960-28064380-93df-11e9-9fa2-bf2933e4d6ea.png\" width=\"480\"/\u003e\n\u003c/p\u003e\u003c/dl\u003e\n\n(Code snippet from: [jq-zeros][jq-zeros])\n\n#### Syntax highlighting options\n\n```vim\n\" Don't highlight builtin functions/filters (default: 1)\nlet g:jq_highlight_builtin_functions = 0\n\n\" Don't highlight module prefix, like NAME:: (default: 1)\nlet g:jq_highlight_module_prefix = 0\n\n\" Don't highlight imported JSON file prefix, like $NAME:: (default: 1)\nlet g:jq_highlight_json_file_prefix = 0\n\n\" Highlight objects like .foo (default: 0)\nlet g:jq_highlight_objects = 1\n\n\" Highlight all function calls (default: 0)\n\" This will highlight all words directly followed by an opening parenthesis\nlet g:jq_highlight_function_calls = 1\n```\n\n\n## Mappings\n\n* Move to next/previous function definition: \u003ckbd\u003e]]\u003c/kbd\u003e, \u003ckbd\u003e[[\u003c/kbd\u003e\n* Move to next/previous nested function definition: \u003ckbd\u003e]m\u003c/kbd\u003e,\n  \u003ckbd\u003e\\[m\u003c/kbd\u003e\n* Enhanced \u003ckbd\u003egf\u003c/kbd\u003e: when pressed on an included module path `foo/bar`\n  edits the file `foo/bar.jq` if the file can be found in Vim's `'path'`,\n  otherwise tries to edit `foo/bar/bar.jq`.\n* Move between matching `if/elif/else/end`, `try/catch`, and function definition\n  boundaries `def/;` with \u003ckbd\u003e%\u003c/kbd\u003e.\n\n\n## Include file searches\n\n* Proper settings for `include`, `includeexpr`, `suffixesadd` and `define`. See\n  \u003ckbd\u003e:h include-search\u003c/kbd\u003e and \u003ckbd\u003e:h definition-search\u003c/kbd\u003e for details.\n* Jq's default search paths for [modules][jq-modules], `~/.jq` and\n  `$ORIGIN/../lib/jq` (where `$ORIGIN` is the path to the `jq` executable) are\n  appended to `'path'` only when they exist.\n\n\n## Installation\n\n#### Manual Installation\n\n```bash\n$ cd ~/.vim/pack/git-plugins/start\n$ git clone https://github.com/bfrg/vim-jq\n```\n**Note:** The directory name `git-plugins` is arbitrary, you can pick any other\nname. For more details see \u003ckbd\u003e:help packages\u003c/kbd\u003e.\n\n#### Plugin Managers\n\nAssuming [vim-plug][plug] is your favorite plugin manager, add the following to\nyour `vimrc`:\n```vim\nPlug 'bfrg/vim-jq'\n```\n\n\n## License\n\nDistributed under the same terms as Vim itself. See \u003ckbd\u003e:help license\u003c/kbd\u003e.\n\n[jq]: https://github.com/stedolan/jq\n[jqplay]: https://jqplay.org\n[vim-jqplay]: https://github.com/bfrg/vim-jqplay\n[jq-zeros]: https://github.com/joelpurra/jq-zeros\n[vim-matchup]: https://github.com/andymass/vim-matchup\n[jq-modules]: https://stedolan.github.io/jq/manual/#Modules\n[plug]: https://github.com/junegunn/vim-plug\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfrg%2Fvim-jq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfrg%2Fvim-jq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfrg%2Fvim-jq/lists"}