Skip to content

Commit 911d719

Browse files
committed
Document range support for JsonPath command
1 parent 7fa5600 commit 911d719

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/jsonpath.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,14 @@ Override using >
8383
==============================================================================
8484
COMMANDS *jsonpath-commands*
8585

86-
|:JsonPath| [<search-path>] *:JsonPath*
86+
[range]|:JsonPath| [<search-path>] *:JsonPath*
8787
If <search-path> is provided: |jsonpath-goto|
8888
Scans the active buffer for the definition for the given path,
8989
placing the cursor on it if found.
9090
If omitted: |jsonpath-echo|
9191
Outputs the path to the identifier under the cursor using |:echo|.
9292
Also copies the path to a register if |g:jsonpath_register| is set.
93+
If a range is given, only those lines of the file will be scanned.
9394

9495

9596
==============================================================================

0 commit comments

Comments
 (0)