-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
BUG: help_tags does not show any help tags on Windows #3126
Labels
bug
Something isn't working
Comments
xudyang1
added a commit
to xudyang1/telescope.nvim
that referenced
this issue
May 21, 2024
On Windows, `builtin.help_tags` picker does not show any help tags. To fix this, the following changes are needed: 1. `util.path_tail` checks unix separator `/` on Windows and leave the original implementation intact on unix systems. 2. Line endings should be taken carefully on Windows. `vim.split` with only newline `\n` character as separator may result in unexpected crash when parsing large files. When splits on lines are needed, call it with `\r?\n`, or even set up a wrapper function in utils is more prefered. Fixes nvim-telescope#3126
6 tasks
xudyang1
added a commit
to xudyang1/telescope.nvim
that referenced
this issue
May 21, 2024
On Windows, `builtin.help_tags` picker does not show any help tags. To fix this, the following changes are needed: 1. `util.path_tail` checks unix separator `/` on Windows and leave the original implementation intact on unix systems. 2. Line endings should be taken carefully on Windows. `vim.split` with only newline `\n` character as separator may result in unexpected crash when parsing large files. When splits on lines are needed, call it with `\r?\n`, or even set up a wrapper function in utils is more prefered. Fixes nvim-telescope#3126
xudyang1
added a commit
to xudyang1/telescope.nvim
that referenced
this issue
May 21, 2024
On Windows, `builtin.help_tags` picker does not show any help tags. To fix this, the following changes are needed: 1. `util.path_tail` checks unix separator `/` on Windows and leave the original implementation intact on unix systems. 2. Line endings should be taken carefully on Windows. `vim.split` with only newline `\n` character as separator may result in unexpected crash when parsing large files. When splits on lines are needed, call it with `\r?\n`, or even set up a wrapper function in utils is more prefered. Fixes nvim-telescope#3126
xudyang1
added a commit
to xudyang1/telescope.nvim
that referenced
this issue
May 21, 2024
On Windows, `builtin.help_tags` picker does not show any help tags. To fix this, the following changes are needed: 1. `util.path_tail` checks unix separator `/` on Windows and leave the original implementation intact on unix systems. 2. Line endings should be taken carefully on Windows. `vim.split` with only newline `\n` character as separator may result in unexpected crash when parsing large files. When splits on lines are needed, call it with `\r?\n`, or even set up a wrapper function in utils is more prefered. Fixes nvim-telescope#3126
jamestrew
pushed a commit
that referenced
this issue
May 26, 2024
* fix(help_tags): show help tags on windows (#3126) On Windows, `builtin.help_tags` picker does not show any help tags. To fix this, the following changes are needed: 1. `util.path_tail` checks unix separator `/` on Windows and leave the original implementation intact on unix systems. 2. Line endings should be taken carefully on Windows. `vim.split` with only newline `\n` character as separator may result in unexpected crash when parsing large files. When splits on lines are needed, call it with `\r?\n`, or even set up a wrapper function in utils is more prefered. Fixes #3126 * fix: handle cross platform line splits
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
help_tags does not show any help tags on Windows
Neovim version
Operating system and version
Windows 10
Telescope version / branch / rev
a71ef5a
checkhealth telescope
Steps to reproduce
:Telescope help_tags
Expected behavior
The picker should show help tags
Actual behavior
Empty selection in help_tags
Minimal config
The text was updated successfully, but these errors were encountered: