Skip to content

Releases: Bekaboo/dropbar.nvim

v6.0.0

07 Oct 09:15
308559d
Compare
Choose a tag to compare

6.0.0 (2023-10-07)

⚠ BREAKING CHANGES

  • fzf/configs: remove config option opts.fzf.hl
  • menu: add background for scrollbar; simplify scrollbar logic
  • hlgroups: link hl-DropBarMenuScrollBar to hl-PmenuThumb by default
  • add builtin source for terminal buffers (#78)

Features

  • add builtin source for terminal buffers (#78) (6b88dab)
  • menu: add background for scrollbar; simplify scrollbar logic (eac1b26)
  • menu: add scrollbar to the menu when the symbol list is too long (#84) (54813b4)
  • menu: allow showing virtual text below entries (#92) (3daffc1)
  • menu: fuzzy finding (#77) (8da1555)

Bug Fixes

  • always ensure that offset is no larger than (b4b6b4a)
  • api: dropbar_menu_t:fuzzy_find_close() param (2254b1d)
  • bar: potential bug in the return value of dropbar_t:pick_mode_wrap() (648a19c)
  • fzf: ensure fzf_entry.pos is non-nil in on_update (#98) (9fc12e3), closes #97
  • fzf: hover highlighting of last entry in fzf (#91) (044dbc7)
  • highlight current terminal buffer properly in menu (1869204)
  • hover: clear if no component if under mouse, close #80 (28436bf)
  • menu-scrollbar: revert 2debe82 (#94) (7a91b7b), closes #93
  • menu-scrollbar: scrollbar not at bottom when last line is shown (partially fix #93) (dc11786)
  • menu-scrollbar: scrollbar should be covered by sub-menus (5b957d5)
  • menu-scrollbar: scrollbar underflow (b4b6b4a)
  • menu: allow relative win settings other than win; improve fzf window placement (#90) (2d383f4)
  • menu: scrollbar position (eb61e57)
  • sources: terminal: add missing name highlight (2d94c28)

Code Refactoring

  • fzf/configs: remove config option opts.fzf.hl (deaa54d)
  • hlgroups: link hl-DropBarMenuScrollBar to hl-PmenuThumb by default (813c032)

v5.1.0

02 Sep 01:53
2382f57
Compare
Choose a tag to compare

5.1.0 (2023-08-28)

Features

  • config: make attach events configurable, fix #70 (b2695b7)

Bug Fixes

  • menu: duplicate current-context highlight in the first menu (348a318)

v5.0.3

26 Aug 16:15
32bee21
Compare
Choose a tag to compare

5.0.3 (2023-08-22)

Bug Fixes

  • bar: check if buf number is valid before truncating (8825367)

v5.0.2

13 Aug 04:57
c47d764
Compare
Choose a tag to compare

5.0.2 (2023-08-10)

Bug Fixes

  • bar: hovering highlight not updated for dropbar at non-current windows (fb97d5e)
  • bar: remove debug print (b201f50)
  • highlights: current context & hovering highlight priorities in menu (88d71c6)
  • highlights: winbar highlights changed after hovering/clicking if not defined (4785774)

v5.0.1

18 Jul 17:05
cd26a93
Compare
Choose a tag to compare

5.0.1 (2023-07-10)

Bug Fixes

  • dropbar: WinResized not updating all affected windows (#56) (03bfd62)
  • menu: highlighting issues that occur during menu navigation (#52) (a34d3e6)
  • sources.path/highlights: DropBarKindFile not used (dd0a43d)
  • sources: lsp source should not request for winbar update, fix #55 (7341bee)

v5.0.0

08 Jul 16:16
5aec53c
Compare
Choose a tag to compare

5.0.0 (2023-07-06)

⚠ BREAKING CHANGES

  • sources/config: treesitter/markdown: perfer treesitter parser
  • sources/config: treesitter: improve default name pattern and logic
  • highlights: remove hl-DropBarIconCurrentContext

Features

  • api: get_dropbar() accepts empty buffer number (9a94a22)
  • bar: add truncate mark after the left padding (3b7412c)
  • bar: highlight the symbol under mouse hovering in the winbar (c2f49e8)
  • bar: support swapping and restoring nil values in dropbar_symbol_t (31b6fe0)
  • sources/config: treesitter: improve default name pattern and logic (c72bd7f)
  • sources/config: treesitter/markdown: perfer treesitter parser (15115eb)
  • sources: treesitter: add json pair to valid treesitter types (5c8bd1a)
  • sources: treesitter: handle cursor pos in insert mode differently (c25bef8)

Bug Fixes

  • config: wrong sources path (#46) (a718484)
  • menu: error if execute :bw in dropbar menu (62590d6)

Reverts

  • "feat(bar): add truncate mark after the left padding" (e07ef94)

Code Refactoring

  • highlights: remove hl-DropBarIconCurrentContext (24106ff)

v4.0.0

02 Jul 05:48
8b18a1f
Compare
Choose a tag to compare

4.0.0 (2023-07-02)

⚠ BREAKING CHANGES

  • config: open menu relative to clicked symbol by default, fix #37

Features

  • bar/highlights: add current context highlighting to winbar (36125e5)
  • config: open menu relative to clicked symbol by default, fix #37 (a0faad2)

Bug Fixes

  • bar: invalid buffer number after :bw <buffer> (2cc0381)

Performance Improvements

  • symbol: cache string and length for symbols (2c02b28)

v3.2.0

25 Jun 03:04
77fa03c
Compare
Choose a tag to compare

3.2.0 (2023-06-25)

Features

  • highlights: add hl-DropBarMenu[NormalFloat,FloatBorder] (#16) (54ab3ee)

Bug Fixes

  • highlights: fix hl-DropbarMenuFloatBorder and hl-DropBarMenuNormalFloat mappings (15f32c0)

Performance Improvements

  • provide option to prevent frequent update while scrolling (9d39fb4)

v3.1.0

19 Jun 11:30
c4ca1cd
Compare
Choose a tag to compare

3.1.0 (2023-06-16)

Features

  • config: add option to reorient the source window after jump (4df9092)
  • config: include '*' in treesitter default name pattern (a620873)

Bug Fixes

  • menu: detect if mouse is at the border of the menu window, fix #39 (0ba1af6)
  • sources: path: should use file icons for symbols of type 'file' (190dcc1)

Performance Improvements

  • bar: avoid unnecessary redraw, also fix #38 (0ccb5d7)

v3.0.0

10 Jun 23:10
b091064
Compare
Choose a tag to compare

3.0.0 (2023-06-10)

⚠ BREAKING CHANGES

  • config: move preview reorient configs under opts.symbol
  • symbol: preview symbol in source window

Features

  • config: add option to disable icons (f08ab63)
  • config: move preview reorient configs under opts.symbol (e136c7f)
  • config: preview symbol on mouse hovering (5ec3fa0)
  • highlights: reset hlgroups on ColorScheme (befe881)
  • menu: enable menu quick navigation by default (#3) (54c1dba)
  • menu: only move cursor to the first symbol on entering a new menu (ca6741c)
  • symbol: preview symbol in source window (3882ee3)

Bug Fixes

  • config: should not disable icons when new_opts.icons.disable is not provided (#31) (1254ba2)
  • highlights: fix hlgroup names (f217fde)
  • highlights: fix hlgroup names (again) (990cae9)
  • highlights: update current context highlights correctly (7367616)
  • menu: convert mouse.column to 0-based (04e04cc)
  • menu: cursor not set to first clickable component in current entry (4ef2dac)
  • menu: drop-down menu position (1bee80f)
  • menu: fix default keymaps in menu (1072eff)
  • menu: pass prev_win on opening/toggling menus (29e9b76)
  • menu: set init cursor pos only on the first time opening a menu (1e56ced)
  • menu: should set cursor to previous position explicitly (7d20061)
  • menu: wrong prev_window if opened from non-current window (094f34d)
  • sources: treesitter: add missing call to ipairs() (d6775ce)
  • sources: treesitter: duplicate current node in siblings list (eb242a2)
  • sources: treesitter: order of siblings is reversed (94b8d52)