preservim / nerdtree

A tree explorer plugin for vim.
Do What The F*ck You Want To Public License
19.64k stars 1.45k forks source link

How to hide file links in the directory tree? #1352

Open jackywu opened 1 year ago

jackywu commented 1 year ago

Before creating an issue, take some time to search these resources. It's possible that someone else has already asked your question and gotten an answer.

State Your Question

After searching through the documentation for nerdtree, I couldn't find a way to hide file links in the directory tree. What can I do?

Xnip2023-03-14_19-50-43

jackywu commented 1 year ago

I find a workaround way , put it in .vimrc will make the symlink target do not capture you attention:

        " make symlink do not hightlight 
        hi link NERDTreeLinkTarget Conceal