Description
Is this a question?
No
Is your feature request related to a problem? Please describe.
Node names are shown truncated if they exceed window.
Describe the solution you'd like
Add an autocommand that displays the full name of node under cursor.
Looking at the solution for fern.vim
I wrote a module in lua: https://github.com/przepompownia/vim-arctgx/blob/master/lua/arctgx/lineHover.lua It can be simply used without any modifications in nvim-tree:
lua vim.api.nvim_create_autocmd({'FileType'}, {pattern = 'NvimTree', callback = require('arctgx.lineHover').enableForWindow})
but IMHO this or similar function could be a basic option in nvim-tree.
Describe alternatives you've considered
See also the example from nvim-dap-ui where the author of the plugin added copying extmarks from the original line.
Additional context
On the below images the hover window shows only raw text so highlights are lost:
Edit: I see that file-popup.lua
does similar job but for file details, not the full name.