Skip to content

Commit f092971

Browse files
Daniil RozanovNTBBloodbath
authored andcommitted
docs: annotations for keybinds table
1 parent 8f62a29 commit f092971

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lua/rest-nvim/config/init.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ local logger = require("rest-nvim.logger")
2020
---@class RestConfigResult
2121
---@field split RestConfigResultSplit Result split window behavior
2222
---@field behavior RestConfigResultBehavior Result buffer behavior
23+
---@field keybinds RestConfigResultKeybinds Keybinds settings to navigate throught request results
2324

2425
---@class RestConfigResultSplit
2526
---@field horizontal boolean Open request results in a horizontal split
@@ -46,6 +47,11 @@ local logger = require("rest-nvim.logger")
4647
---@field json string|fun(body: string): string,table JSON formatter
4748
---@field html string|fun(body: string): string,table HTML formatter
4849

50+
---@class RestConfigResultKeybinds
51+
---@field buffer_local boolean Enable keybinds only in request result buffer
52+
---@field prev string Mapping for cycle to previous result pane
53+
---@field next string Mapping for cycle to next result pane
54+
4955
---@class RestConfigHighlight
5056
---@field enable boolean Whether current request highlighting is enabled or not
5157
---@field timeout number Duration time of the request highlighting in milliseconds

0 commit comments

Comments
 (0)