Skip to content

Commit 6e4b5fb

Browse files
committed
fix(custom-directives): Update type on default value
1 parent 6c22483 commit 6e4b5fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/rest-nvim/config/default.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
local default_config = {
77
---@type table<string, fun():string> Table of custom dynamic variables
88
custom_dynamic_variables = {},
9-
---@type table<string, rest.Opts.DirectiveFn> Table of custom directives
9+
---@type rest.Opts.Directives Table of custom directives
1010
custom_directives = {},
1111
---@class rest.Config.Request
1212
request = {
@@ -42,7 +42,7 @@ local default_config = {
4242
---See `man curl` for `--write-out` flag
4343
---@type RestStatisticsStyle[]
4444
statistics = {
45-
{ id = "time_total", winbar = "take", title = "Time taken" },
45+
{ id = "time_total", winbar = "take", title = "Time taken" },
4646
{ id = "size_download", winbar = "size", title = "Download size" },
4747
},
4848
---Curl-secific request/response hooks

0 commit comments

Comments
 (0)