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

rightleft support #157

Open
rwmpelstilzchen opened this issue Sep 5, 2023 · 0 comments
Open

rightleft support #157

rwmpelstilzchen opened this issue Sep 5, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rwmpelstilzchen
Copy link

Neovim version (nvim -v | head -n1)

NVIM v0.9.1

Operating system/version

BTW I use Arch

How to reproduce the issue

Install with vim-plug:

Plug 'kevinhwang91/promise-async'  " (dependency)
Plug 'kevinhwang91/nvim-ufo'

Configure with nvim-treesitter (installed elsewhere in the init file):

lua << EOF
require('ufo').setup({
    provider_selector = function(bufnr, filetype, buftype)
        return {'treesitter', 'indent'}
    end
})
EOF

Fold something with nvim-ufo. Switch to rightleft mode (for Hebrew, Persian, Arabic, etc…) using :set rl.

Expected behavior

The folded lines should display in a right-to-left manner, just as they do without nvim-ufo.

Actual behavior

Folded lines disappear. They reappear when rightleft is disabled (:set norl).

This have the same symptoms as this bug with org-bullets.nvim.

@rwmpelstilzchen rwmpelstilzchen added the bug Something isn't working label Sep 5, 2023
@kevinhwang91 kevinhwang91 added enhancement New feature or request help wanted Extra attention is needed and removed bug Something isn't working labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants