Problems with adding operator

This issue has been created since 2021-12-07.

Add operator gc with setup function doesn't work for me.

My which-key settings are:

use { 'folke/which-key.nvim', as = 'which-key',
   config = require('which-key').setup {
      plugins = {
         presets = {
            operators = true,
         },
      },
      operators = {
         gc = "Comments"
      }
   }
}

But no description has appeared:
which-key operator

davidsierradz wrote this answer on 2022-03-02

Try with:

require('which-key').register({
  c = {
    name = 'Comments',
  },
}, { prefix = 'g' })
More Details About Repo
Owner Name folke
Repo Name which-key.nvim
Full Name folke/which-key.nvim
Language Lua
Created Date 2021-04-28
Updated Date 2022-08-09
Star Count 1687
Watcher Count 8
Fork Count 75
Issue Count 122

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Clarification about OPAE install 0 2021-11-02 2022-07-24
`C` versions of the processes in the `processes` group of missions 1 2021-05-27 2022-07-30
Can you update the Maven implementation? 0 2021-12-16 2022-05-01
modbus.server.RTU responds on all addresses 6 2021-08-15 2022-07-29
[Minor] LE-6偶尔会遇到掉落识别错误 2 2022-06-14 2022-08-07
在正常执行任务时突然出现任务出错:Fight 1 2022-06-14 2022-07-24
美服 刷体力 log说游戏崩溃 实际上没有 模拟器停留在结算页面 1 2022-06-13 2022-07-17
Tile keys `asst::TileKey::Telin`, `asst::TileKey::Telout` means teleporter in/out? 4 2022-06-16 2022-07-24
雷电模拟器使用3.9.7版本刷理智持续出现“游戏崩溃,重新启动”提示,实际模拟器并未出现问题 6 2022-06-15 2022-07-20
Remove explicit dependency on the Kotlin stdlib 8 2021-11-30 2022-07-25
After Video Processing Save Video with Audio as Well 2 2022-02-26 2022-07-30
Nested Scrolling In A RecyclerView Not Working 1 2019-03-23 2022-07-16
Use xml_nodes_to_lints() for all XPath-based linters 0 2022-05-26 2022-07-31
Unable to Use Keyboard shortcuts 0 2021-01-19 2022-07-09
[Q] gtags-cscope got zomibne process 2 2022-05-24 2022-08-12
Store User Selected Values 1 2021-08-27 2022-08-02
"Sprint_Issues" data not matching "Jira_sprint_issues" 1 2022-01-21 2022-01-29
By changing the parameter Transformed return to its original location. 1 2022-01-24 2022-07-26
Typo in for_everyone_part_ii ? 2 2020-04-16 2022-05-14
pagerduty_security_training_for_everyone_part_ii_public asset not usable 4 2020-12-18 2022-05-14
Upcoming HTML standard issue triage meeting on 3/3/2022 8 2022-02-03 2022-07-20
Resource schemas should error if passed improper arguments 1 2022-04-06 2022-08-11
http: proxy error: context canceled 5 2022-04-11 2022-07-31
Use a k8s Job to run pre-deployment tasks 0 2021-05-21 2022-08-10
Capacity to change hibernate dialect 3 2022-03-14 2022-07-06
建议上架到 mac appstore 1 2021-07-25 2022-01-09
[BUG] Broken pinned which-key commit 1 2022-01-20 2022-08-05
[Sqlite_Renamer] [Feature Request] Catch all filename template after edits based on tags_dict 0 2022-07-11 2022-08-05
Payload... is not a number 23 2021-10-02 2022-08-04
OpenAPI Schema generation fails with generic APIViews 3 2022-06-01 2022-07-17
useTracker subscription not cleaned up when deps change. 11 2022-01-27 2022-08-01
"debug"dependency : Uncaught ReferenceError: exports is not defined 3 2022-08-04 2022-08-12
[Event Request] Table 336 Tracking Specification "OnSetSourceFilter" 1 2022-05-05 2022-08-11
[Event Parameter Request] codeunit 5763 "Whse.-Post Shipment" - OnInitSourceDocumentHeaderOnBeforeValidatePostingDate 1 2022-04-19 2022-08-01
Don't receive network error from rpc when airplane mode has been turned on 3 2021-10-28 2022-07-12
Speed up HomeBrew Deployment 0 2020-05-10 2022-08-02
Extension with stable build: fatal error: thrust/complex.h: No such file or directory 4 2022-02-16 2022-08-01
(aws-rds): `addRotationMultiUser()` changes the username, adds `_clone` suffix 10 2022-06-10 2022-07-23
aws-ecs-patterns (QueueProcessingFargateService): ASG task termination race-condition due to a non-editable CPUScalingPolicy being added by default to service. 2 2022-06-11 2022-08-07
Cypress v9.5.1 to v10.3.0 migration wizard keeps looping on load your project/find browsers installed on system 2 2022-07-06 2022-07-30
Windows 10: Terminal does not update when the OS theme changes 3 2022-03-12 2022-07-27
OverflowError: cannot convert float infinity to integer 4 2019-10-24 2022-07-22
gen_anchors contains hard-coded image dimensions 2 2020-03-26 2022-07-22
Missing documentation for Call Center VoIP integration with Asterisk 2 2022-06-28 2022-07-10
arm-trusted-firmware-mvebu: cherry-pick post release mox-boot-builder fixes 4 2021-08-30 2022-08-13
Difference in behaviour between IDE and Terminal using the same rust install, .cargo and toolchain 1 2022-07-06 2022-07-26
Timed out event is still buffered 3 2022-03-17 2022-07-31
Fast swiping 15 2019-09-11 2022-01-17
Can't get expose data type from child component when use script setup and typescript 1 2021-10-28 2022-07-12
[cocoon dependabot] Bump url_launcher from 6.0.20 to 6.1.4 in /dashboard fails 2 2022-07-12 2022-08-13