Skip to content

Latest commit

 

History

History
558 lines (315 loc) · 37.9 KB

CHANGELOG.md

File metadata and controls

558 lines (315 loc) · 37.9 KB

Changelog

9.0.1 (2024-11-02)

Bug Fixes

  • Use personal access token (PAT), see discussion: (22382f4)

9.0.0 (2024-10-31)

⚠ BREAKING CHANGES

  • configs: deprecate use_devicons, allow dir/file icon callback
  • configs: deprecate opts.general
  • hlgroups: link to ts hl instead of regex syntax hl
  • hlgroups: don't depend on cmp hlgroups
  • sources-treesitter & configs: use vim regex to match ts node name

Features

  • configs: deprecate use_devicons, allow dir/file icon callback (a1b893c)
  • configs: more sensible treesitter valid node types (5186097)
  • sources-path: add filetype devicon as fallback (#185) (ede945e)
  • sources-treesitter & configs: use vim regex to match ts node name (678a59c)
  • sources-treesitter: reduce consecutive spaces in ts symbol name (35988af)

Bug Fixes

  • api: shouldn't reorient when jumping to context (61d1403)
  • configs & hlgroups: missing icons and hlgroups for ts types (a12869f)
  • configs,sources.path: concat nil when icons disabled (#190) (28bcb1c)
  • Remove use of deprecated opts.sources.treesitter.name_pattern (ef933aa)
  • setup: avoid setup twice when using lazy.nvim (#181) (b7b0cd2)
  • setup: dropbar attaches to wrong window (6156e07)
  • sources-path: get_symbols() error caused by drive name on Windows (#175) (d26bf92)
  • sources-path: file icons not selected using filetype as fallback (01ed539)
  • sources-terminal: icon shown when opts.icons.enable is false (9d8cad9)
  • sources.treesitter: ts source not returning symbols (#189) (ef933aa)
  • This is because default is set when calling get_icon() with (01ed539)

Performance Improvements

  • configs: by default don't update in insert mode (ff02391)

Code Refactoring

  • configs: deprecate opts.general (54590c0)
  • hlgroups: don't depend on cmp hlgroups (5f0da7f)
  • hlgroups: link to ts hl instead of regex syntax hl (9b58487)

8.6.1 (2024-07-25)

Bug Fixes

  • configs: winbar attached to floating windows (6567d50)

8.6.0 (2024-06-14)

Features

  • hlgroups: add workaround for winbar background issue (#118) (98aec7c)

Bug Fixes

  • compat-0.11: use vim.islist if available (#158) (9fc10fa)
  • menu: cursor position not restored after exiting fzf mode (cd79d3c)
  • sources-path: not switching to selected file if selected from fzf (fd917b7)

8.5.0 (2024-04-20)

Features

  • configs: show warning messages when file is too large to preview (e3c7de9)

8.4.0 (2024-03-24)

Features

  • menu: set &winfixbuf in menu windows (a5f3d6a)

8.3.0 (2024-03-03)

Features

  • path: support file preview for path source (#86) (0a557bd)
  • sources-path & configs: add opts.sources.path.preview (0a557bd)

Bug Fixes

  • sources-path: indexing nil value when previewing dirs/links, etc. (0a557bd)

8.2.1 (2024-02-24)

Bug Fixes

  • configs: do not pass filetype directly (#143) (a133a7d)

8.2.0 (2024-02-17)

Features

  • fzf: allow fzf win_configs to contain functions, fix vertical offsets (#131) (ef73236)
  • ui-select: support optional preview of items (#124) (f835519)

Bug Fixes

  • autocmd: add missing setup event BufNewFile (#140) (fa43ea3)
  • configs: attach dropbar to both windows in diff (close #135) (4855b9b)
  • event: vim.v.event.windows is nil after :doau WinResized (e4fd982)
  • This is because we set the border[2] to ' ' (space). (c3de6fe)
  • utils: menu: ui.select menu has thick bottom border (c3de6fe)

8.1.0 (2024-01-25)

Features

  • api: improve fuzzy-find api and doc (55040ca)
  • configs: new keymap &lt;C-n&gt; & <C-p> to navigate when fuzzy-find (ffa36d8)
  • menu: fuzzy_find_navigate() accepts integer as direction (b485e43)
  • menu: use autocmd to close fzf window after leaving insert mode (d197d2c)
  • utils: menu: improve ui.select() function (0c3b4f6)

Bug Fixes

  • menu: col field missing in fzf window config (eb3c3d8)
  • menu: has_bottom_border is wrong when border == { "" } (bad67c3)
  • menu: force fzf-window anchor to 'NW' to ensure alignment (#131) (589c1cf)
  • menu: make sure fzf-window aligns with menu window (#131) (a296281)
  • menu: scrollbar thumb not visiable (commit e68e054) (6f01ec8)
  • menu: should align based on menu win's border not fzf win's (22263e6)
  • types: add ./lua and $VIMRUNTIME/lua to library in .luarc.json (#134) (9a8e498)

8.0.2 (2024-01-17)

Bug Fixes

  • bar: also escape percent signs in icons (#128) (4d8e7ac)
  • bar: escape percent signs in symbol_t component names (#128) (b1b5979)

8.0.1 (2024-01-12)

Bug Fixes

  • menu: preview not updated after returning to prev menu (bfba257)
  • The issue stems from the conditional check in (bfba257)

8.0.0 (2023-12-23)

⚠ BREAKING CHANGES

  • bar: make callback indexing more robust

Features

  • bar: truncate leading symbols in extreme narrow windows (053f7f3)
  • configs: use &lt;Esc&gt; in normal mode to close current menu (ee3a356)
  • use dropbar menu for ui.select (opt-in) (#120) (86a7736)

Bug Fixes

  • configs & menu: default mapping in visual mode causes confusion (10b2873)

Performance Improvements

  • menu: make preview smoother; reduce unnecessary cursor jumps (4f22910)

Code Refactoring

  • bar: make callback indexing more robust (3dd2c28)

7.3.0 (2023-12-09)

Features

  • menu: scrollbar customization options (#96) (e68e054)

Bug Fixes

  • bar: should set jumplist before dropbar_symbol_t:jump() (f54d926)
  • menu-scrollbar: scrollbar thumb covered by menu border (2b7c2d5)
  • remove hover highlight on FocusLost (#119) (50319e2)
  • sources-markdown: check buffer validity, close #114 (9885b34)
  • update hover highlight on FocusGained (7b65210)

7.2.1 (2023-11-24)

Bug Fixes

  • sources-treesitter: active ts parser ignore if highlight disabled (c88c4ff)

7.2.0 (2023-11-14)

Features

  • configs: add default keymap q to close current menu (183587d)

Bug Fixes

  • sources-path: infinate loop finding root on Windows system (#111) (c8a209e)

7.1.0 (2023-11-10)

Features

  • configs: improve preview reorient function (09d2898)
  • menu & configs: more responsive hovering & clicking in normal mode (927cc56)

Bug Fixes

  • configs & icons: add missing terminal icon (76e72ca)

Performance Improvements

  • configs: remove some rarely-used events (68eebfd)

7.0.1 (2023-11-03)

Bug Fixes

  • configs: cannot find winnr (again) (9f86b27)
  • configs: cannot find winnr (invalid window ID) (0242c97)
  • memory: dereference global callbacks correctly (3435bb8)
  • sources-path & configs: should use window-local cwd (d42a135)

7.0.0 (2023-10-19)

⚠ BREAKING CHANGES

  • configs: use only markdown source for markdown file symbols

Features

  • configs: use only markdown source for markdown file symbols (c8b3013)

Bug Fixes

  • sources-lsp: handle out-of-spec lsp symbol number, close #104 (6e52712)

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)

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)

5.0.3 (2023-08-22)

Bug Fixes

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

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)

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)

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)

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 &lt;buffer&gt; (2cc0381)

Performance Improvements

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

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)

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)

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)

2.1.1 (2023-06-04)

Bug Fixes

  • highlights: fix the name of hl-DropBarMenuHoverSymbol (63ab461)

2.1.0 (2023-06-04)

Features

  • menu: highlight entries/symbols under current mouse/cursor position (#3) (54284b3)

Bug Fixes

  • general behavior: invalid buffer error when clicking on winbar symbols (6553d3a)
  • menu: fix <MouseMove> keymap (103a808)
  • sources: markdown: error when clicking on markdown heading symbol (ab3ed40)

2.0.0 (2023-06-03)

⚠ BREAKING CHANGES

  • general behavior: deprecate opts.general.update_events
  • highlights: use hl-DropBarKind* for text highlights (#18)
  • general behavior: do not clear the winbar when not enabled
  • highlights: add hl-DropBarMenuNormalFloat linking to hl-WinBar (#16)

Features

  • general behavior: deprecate opts.general.update_events (415a587)
  • highlights: add hl-DropBarMenuNormalFloat linking to hl-WinBar (#16) (aeea703)
  • highlights: use hl-DropBarKind* for text highlights (#18) (36ce8a1)
  • notify neovim version requirement (#15) (d3ebf22)
  • sources: lsp: check nil before indexing info.data.client_id (#13) (4c746bc)
  • sources: path: add opts to change file symbol when modified is set (#14) (6c568de)

Bug Fixes

  • bar & highlights: hl-DropBarIconUISeparator not set in winbar (96b3fad)
  • general behavior: do not clear the winbar when not enabled (5d7030f)
  • general behavior: update winbar on BufModifiedSet (06e233a)
  • highlights: add missing hl-DropBarMenuCurrentContext (5c51448)
  • menu: should close existing sub-menus on opening sub-menus (#8) (10318d1)

1.0.0 (2023-05-30)

⚠ BREAKING CHANGES

  • convert codepoints from nerdfonts v2 to v3

Features

  • bar: dropbar_symbol_t:cat() returns plain text when no bar is associated (7ae61cc)

Bug Fixes

  • autocmds: winbar not updated in time in insert mode (e54c1a6)
  • bar: check nil before calling on_click() in dropbar_t:pick() (e920832)
  • bar: dropbar_t separator and extends losts metatable if merged with opts (dfa59b6)
  • convert codepoints from nerdfonts v2 to v3 (03f6e86)
  • error: not allowed in sandbox (0624308)
  • lint: unused variable self (5d31a34)
  • menu: dropbar_menu_entry_t separator losts metatable if merged with opts (bb8a146)
  • menu: dropbar_menu_entry_t:cat() & :find_first_clickable() indexing (9dc9dd0)
  • menu: dropbar_menu_t:click_on() wrongly updates clicked_at column number (867c5dd)
  • sources: markdown parser children symbols resolution logic (37d34e5)
  • sources: markdown parser init ['end'].lnum (6d9c78c)