@@ -70,7 +70,9 @@ vimdoc.argument = function (buffer, item)
7070 end
7171
7272 --- @type vimdoc.generic ?
73- local config = utils .match (main_config , item .label , {});
73+ local config = utils .match (main_config , item .label , {
74+ ignore_keys = { " enable" , " default" }
75+ });
7476 local range = item .range ;
7577
7678 if not config then
@@ -612,7 +614,9 @@ vimdoc.keycode = function (buffer, item)
612614 end
613615
614616 --- @type vimdoc.generic ?
615- local config = utils .match (main_config , item .label , {});
617+ local config = utils .match (main_config , item .label , {
618+ ignore_keys = { " enable" , " default" }
619+ });
616620 local range = item .range ;
617621
618622 if not config then
@@ -764,7 +768,9 @@ vimdoc.note = function (buffer, item)
764768 end
765769
766770 --- @type vimdoc.generic ?
767- local config = utils .match (main_config , item .label , {});
771+ local config = utils .match (main_config , item .label , {
772+ ignore_keys = { " enable" , " default" }
773+ });
768774 local range = item .range ;
769775
770776 if not config then
@@ -823,7 +829,9 @@ vimdoc.optionlink = function (buffer, item)
823829 end
824830
825831 --- @type vimdoc.generic ?
826- local config = utils .match (main_config , item .label , {});
832+ local config = utils .match (main_config , item .label , {
833+ ignore_keys = { " enable" , " default" }
834+ });
827835 local range = item .range ;
828836
829837 if not config then
@@ -896,7 +904,9 @@ vimdoc.tag = function (buffer, item)
896904 end
897905
898906 --- @type vimdoc.generic ?
899- local config = utils .match (main_config , item .tag , {});
907+ local config = utils .match (main_config , item .tag , {
908+ ignore_keys = { " enable" , " default" }
909+ });
900910 local range = item .range ;
901911
902912 if not config then
@@ -973,7 +983,9 @@ vimdoc.taglink = function (buffer, item)
973983 end
974984
975985 --- @type vimdoc.generic ?
976- local config = utils .match (main_config , item .label , {});
986+ local config = utils .match (main_config , item .label , {
987+ ignore_keys = { " enable" , " default" }
988+ });
977989 local range = item .range ;
978990
979991 if not config then
@@ -1050,7 +1062,9 @@ vimdoc.url = function (buffer, item)
10501062 end
10511063
10521064 --- @type vimdoc.generic ?
1053- local config = utils .match (main_config , item .label , {});
1065+ local config = utils .match (main_config , item .label , {
1066+ ignore_keys = { " enable" , " default" }
1067+ });
10541068 local range = item .range ;
10551069
10561070 if not config then
@@ -1133,6 +1147,7 @@ vimdoc.render = function (buffer, content)
11331147 end
11341148
11351149 if success == false then
1150+ vimdoc [item .class :gsub (" ^vimdoc%_" , " " )](buffer , item )
11361151 require (" helpview.health" ).notify (" trace" , {
11371152 level = 4 ,
11381153 message = error
0 commit comments