Skip to content

Brackets in links are not concealed #99

@jbarik

Description

@jbarik

Are you using "tree-sitter" branch?

No

Describe the bug

org_link_issue

As shown in the above message, for links the brackets are not hidden. Am I missing some setting. My minimal init.vim to reproduce the issue

init.vim

function! PackagerInit() abort
packadd vim-packager
call packager#init()
call packager#add('kristijanhusak/orgmode.nvim')
endfunction

command! PackagerInstall call PackagerInit() | call packager#install()
command! -bang PackagerUpdate call PackagerInit() | call packager#update({ 'force_hooks': '' })
command! PackagerClean call PackagerInit() | call packager#clean()
command! PackagerStatus call PackagerInit() | call packager#status()

lua << EOF
require('orgmode').setup({
org_hide_leading_stars = true
})
EOF

Steps to reproduce

My org file contnts:
[[test]]
[[test][link to test]]

Expected behavior

The brackets should be hidden

Emacs functionality

No response

Screenshots and recordings

org_link_issue

OS / Distro

Ubuntu 20.04.3 LTS

Neovim version/commit

NVIM v0.5.0-dev+1372-g056c464e8

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions