Bekaboo / dropbar.nvim

IDE-like breadcrumbs, out of the box
GNU General Public License v3.0
1.05k stars 24 forks source link

[Bug]: Some html tags not supported #180

Closed mcp1766 closed 1 month ago

mcp1766 commented 2 months ago

Description

Some html tags are not displayed in the dropbar in the way that we expected (see pictures)

Capture d’écran du 2024-08-27 23-38-53

Passing over html, head tags are well displayed on the dropbar and their respective position is correct but body not.

Capture d’écran du 2024-08-28 05-58-25

The body tag and its children are included within the head tag ; what is not correct in my opinion as body tag is not a child of head tag.

nvim version

0.10.1

dropbar.nvim version

6156e07

Operating system and version

Pop OS 22.04 LTS

Minimal config

return
  {
    'Bekaboo/dropbar.nvim',
    -- optional, but required for fuzzy finder support
    dependencies = {
      'nvim-telescope/telescope-fzf-native.nvim'
    }
  }

Steps to reproduce

Saved dropbar.lua Restarted Nvim Opened a html file

Expected behavior

Expected to see all html tags in the correct order in the dropbar

Actual behavior

Dropbar does not show tag as a child of but as a child of tag.

Additional information

No addition

Bekaboo commented 2 months ago

Hi thanks for reporting the issue. Please provide the example html so that I can track the bug.

Bekaboo commented 1 month ago

Closing, cannot reproduce.