doomemacs / doomemacs/core

[bug][javascript]: localleader shows `+prefix`

Open
#7,318 1 comment 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [X] The issue can be reproduced on the **latest** available commit of Doom.

- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*

### Expected behavior

When I type `SPC-m` to see localleader keybindings in javascript, I should see [prefix text](https://github.com/doomemacs/doomemacs/blob/90b1b221fe7c20f2edef341a780e194cd22c7daa/modules/lang/javascript/config.el#L311) (like `npm`) for submenus.

### Current behavior

When I type `SPC-m` to see localleader keybindings in javascript, I only see `+prefix` for submenus. Here is the screenshot:

![2023-07-29-091427_1920x130_scrot](https://github.com/doomemacs/doomemacs/assets/1716173/4b5b2c4d-4875-4011-a2f9-a8e4e1167ed7)

![2023-07-29-091233_1920x145_scrot](https://github.com/doomemacs/doomemacs/assets/1716173/7c00e884-8ef3-4021-91e0-12c7c7fa33aa)

### Steps to reproduce

1. From a fresh doom install
2. Enable `javascript` lang in `init.el`
3. Open a `.js` / `.ts` / `.tsx` file
4. Type `SPC-m` and wait see the menu to open
5. You should see `+prefix` keybinding values

### System Information

https://pastebin.com/DUR5abbD

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.