File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,6 @@ applying configuration.
440
440
},
441
441
notify = {
442
442
threshold = vim.log.levels.INFO,
443
- handler = "default",
444
443
},
445
444
ui = {
446
445
confirm = {
@@ -1226,10 +1225,10 @@ Configuration for notification.
1226
1225
`DEBUG :` not used.
1227
1226
1228
1227
*nvim-tree.notify.handler*
1229
- Change the default notification handler, can be a string ` " default" ` or a function.
1230
- The default handler will check if the nvim-notify plugin is present on the
1231
- runtime path and use it, otherwise it will fallback to use `vim .notify` .
1232
- Type: `string ` | ` function `, Default: ` " default " `
1228
+ Change the default notification handler. The default handler will
1229
+ check if the nvim-notify plugin is present on the runtime path and
1230
+ use it, otherwise it will fallback to use `vim .notify` .
1231
+ Type: `function `
1233
1232
1234
1233
The function will be called with following parameters:
1235
1234
Original file line number Diff line number Diff line change @@ -629,7 +629,6 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
629
629
},
630
630
notify = {
631
631
threshold = vim .log .levels .INFO ,
632
- handler = " default" ,
633
632
},
634
633
ui = {
635
634
confirm = {
664
663
665
664
local FIELD_SKIP_VALIDATE = {
666
665
open_win_config = true ,
666
+ handler = true ,
667
667
}
668
668
669
669
local FIELD_OVERRIDE_TYPECHECK = {
@@ -675,7 +675,6 @@ local FIELD_OVERRIDE_TYPECHECK = {
675
675
sort_by = { [" function" ] = true , string = true },
676
676
root_folder_label = { [" function" ] = true , string = true },
677
677
picker = { [" function" ] = true , string = true },
678
- handler = { [" function" ] = true , string = true },
679
678
}
680
679
681
680
local function validate_options (conf )
You can’t perform that action at this time.
0 commit comments