vim-jq : Runtime files for jq (the command-line JSON processor)
script karma |
Rating 0/0,
Downloaded by 300 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
foo bar |
|
script type |
ftplugin |
|
description |
Vim runtime files for jq script files (the command-line JSON processor).
Syntax highlighting of:
- Builtin filters and user functions
- Module prefix, like NAME::
- Imported JSON file prefix, like $NAME::
- Objects like .foo
Mappings:
- Move to next/previous function definition: ]], [[
- Move to next/previous nested function definition: ]m, [m
- Enhanced gf: when pressed on an included module path foo/bar edits the file foo/bar.jq if the file can be found in Vim's 'path',
otherwise tries to edit foo/bar/bar.jq.
- Move between matching if/elif/else/end, try/catch, and function definition boundaries def/; with %.
Include file searches:
- Proper settings for include, includeexpr, suffixesadd and define.
- Jq's default search paths for modules, ~/.jq and $ORIGIN/../lib/jq are appended to 'path' only if they exist.
https://github.com/bfrg/vim-jq |
|
install details |
Run the following in your terminal:
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/bfrg/vim-jq
Note: The directory name git-plugins is arbitrary, you can pick any other name. For more details see :help packages. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.23.86.150
|