Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No completion for 'helplang' option #14516

Open
heavenshell opened this issue Apr 11, 2024 · 6 comments
Open

No completion for 'helplang' option #14516

heavenshell opened this issue Apr 11, 2024 · 6 comments

Comments

@heavenshell
Copy link

Steps to reproduce

  1. Start Vim with set wildoptions+=pum
vim -Nu NONE -S <(cat <<EOF
set wildmenu
set wildoptions+=pum
set wildmode=longest:full,full
EOF
  1. Type :h help-tags@<TAB>
  2. Does not show candidates(In this case @en and @ru are candidates)

Expected behaviour

Show all language code candidates

Version of Vim

9.1.283

Environment

OS: Ubuntu 23.10
terminal: Teminal.app(SSH from macOS)
value of $TERM: tmux-256color
shell: GNU bash, version 5.2.15

Kapture.2024-04-12.1.45.48.mp4

Logs and stack traces

No response

@chrisbra
Copy link
Member

chrisbra commented Apr 11, 2024

I always though you would have to do :set helplang=en,ru in the first place?

So does it work without setting:

set wildmenu
set wildoptions+=pum
set wildmode=longest:full,full

? You can then just do :h help-tags@<CTRL-D and see what it suggests

@heavenshell
Copy link
Author

Thank you for response!

:set helplang=en,ru in the first place?

No candidates...

2024-04-12.2.55.35.mov
$ vim -Nu NONE -S <(cat <<EOF
set helplang=en,ru
EOF
)
:h help-tags@<TAB>

@chrisbra
Copy link
Member

and did you install a foreign help file?

@heavenshell
Copy link
Author

heavenshell commented Apr 12, 2024

and did you install a foreign help file?

Yes, add vimdoc-ja(Japanese translation project: https://github.com/vim-jp/vimdoc-ja)

$ vim -Nu NONE -S <(cat <<EOF
set helplang=en,ja
packadd vimdoc-ja
EOF
)
:h help@<CTRL-D>
Kapture.2024-04-12.11.23.35.mp4

@chrisbra
Copy link
Member

Has this ever worked? Or is this a feature request?

@heavenshell
Copy link
Author

Has this ever worked?

Maybe no. I just noticed that I can't complete @ja.
I don't know this behavior is by design or bug 😢

@chrisbra chrisbra changed the title cmdline pum does not complete help's language code No completion for 'helplang' option Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants