Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): release 9.0.0 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Feb 23, 2024

🤖 I have created a release beep boop

9.0.0 (2024-06-19)

⚠ BREAKING CHANGES

  • bar: make callback indexing more robust
  • configs: use only markdown source for markdown file symbols
  • 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)
  • sources/config: treesitter/markdown: perfer treesitter parser
  • sources/config: treesitter: improve default name pattern and logic
  • highlights: remove hl-DropBarIconCurrentContext
  • config: open menu relative to clicked symbol by default, fix [Bug]: Confusing drop down menu position if click with a mouse Bekaboo/dropbar.nvim#37
  • config: move preview reorient configs under opts.symbol
  • symbol: preview symbol in source window
  • 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)
  • convert codepoints from nerdfonts v2 to v3

Features

  • add builtin source for terminal buffers (#78) (6b88dab)
  • api: get_dropbar() accepts empty buffer number (9a94a22)
  • api: improve fuzzy-find api and doc (55040ca)
  • bar/highlights: add current context highlighting to winbar (36125e5)
  • bar: add truncate mark after the left padding (3b7412c)
  • bar: dropbar_symbol_t:cat() returns plain text when no bar is associated (7ae61cc)
  • bar: highlight the symbol under mouse hovering in the winbar (c2f49e8)
  • bar: support swapping and restoring nil values in dropbar_symbol_t (31b6fe0)
  • bar: truncate leading symbols in extreme narrow windows (053f7f3)
  • config: add option to disable icons (f08ab63)
  • config: add option to reorient the source window after jump (4df9092)
  • config: include '*' in treesitter default name pattern (a620873)
  • config: make attach events configurable, fix #70 (b2695b7)
  • config: move preview reorient configs under opts.symbol (e136c7f)
  • config: open menu relative to clicked symbol by default, fix #37 (a0faad2)
  • config: preview symbol on mouse hovering (5ec3fa0)
  • configs: add default keymap q to close current menu (183587d)
  • configs: improve preview reorient function (09d2898)
  • configs: new keymap &lt;C-n&gt; & <C-p> to navigate when fuzzy-find (ffa36d8)
  • configs: show warning messages when file is too large to preview (e3c7de9)
  • configs: use &lt;Esc&gt; in normal mode to close current menu (ee3a356)
  • configs: use only markdown source for markdown file symbols (c8b3013)
  • fzf: allow fzf win_configs to contain functions, fix vertical offsets (#131) (ef73236)
  • general behavior: deprecate opts.general.update_events (415a587)
  • highlights: add hl-DropBarMenu[NormalFloat,FloatBorder] (#16) (54ab3ee)
  • highlights: add hl-DropBarMenuNormalFloat linking to hl-WinBar (#16) (aeea703)
  • highlights: reset hlgroups on ColorScheme (befe881)
  • highlights: use hl-DropBarKind* for text highlights (#18) (36ce8a1)
  • hlgroups: add workaround for winbar background issue (#118) (98aec7c)
  • menu & configs: more responsive hovering & clicking in normal mode (927cc56)
  • menu: fuzzy_find_navigate() accepts integer as direction (b485e43)
  • 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: enable menu quick navigation by default (#3) (54c1dba)
  • menu: fuzzy finding (#77) (8da1555)
  • menu: highlight entries/symbols under current mouse/cursor position (#3) (54284b3)
  • menu: only move cursor to the first symbol on entering a new menu (ca6741c)
  • menu: scrollbar customization options (#96) (e68e054)
  • menu: set &winfixbuf in menu windows (a5f3d6a)
  • menu: use autocmd to close fzf window after leaving insert mode (d197d2c)
  • notify neovim version requirement (#15) (d3ebf22)
  • path: support file preview for path source (#86) (0a557bd)
  • sources-path & configs: add opts.sources.path.preview (0a557bd)
  • sources/config: treesitter: improve default name pattern and logic (c72bd7f)
  • sources/config: treesitter/markdown: perfer treesitter parser (15115eb)
  • 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)
  • sources: treesitter: add json pair to valid treesitter types (5c8bd1a)
  • sources: treesitter: handle cursor pos in insert mode differently (c25bef8)
  • symbol: preview symbol in source window (3882ee3)
  • ui-select: support optional preview of items (#124) (f835519)
  • use dropbar menu for ui.select (opt-in) (#120) (86a7736)
  • utils: menu: improve ui.select() function (0c3b4f6)

Bug Fixes

  • always ensure that offset is no larger than (b4b6b4a)
  • api: dropbar_menu_t:fuzzy_find_close() param (2254b1d)
  • autocmd: add missing setup event BufNewFile (#140) (fa43ea3)
  • autocmds: winbar not updated in time in insert mode (e54c1a6)
  • bar & highlights: hl-DropBarIconUISeparator not set in winbar (96b3fad)
  • bar: also escape percent signs in icons (#128) (4d8e7ac)
  • bar: check if buf number is valid before truncating (8825367)
  • 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)
  • bar: escape percent signs in symbol_t component names (#128) (b1b5979)
  • bar: hovering highlight not updated for dropbar at non-current windows (fb97d5e)
  • bar: invalid buffer number after :bw &lt;buffer&gt; (2cc0381)
  • bar: potential bug in the return value of dropbar_t:pick_mode_wrap() (648a19c)
  • bar: remove debug print (b201f50)
  • bar: should set jumplist before dropbar_symbol_t:jump() (f54d926)
  • compat-0.11: use vim.islist if available (#158) (9fc10fa)
  • configs & icons: add missing terminal icon (76e72ca)
  • configs & menu: default mapping in visual mode causes confusion (10b2873)
  • configs: attach dropbar to both windows in diff (close #135) (4855b9b)
  • configs: cannot find winnr (again) (9f86b27)
  • configs: cannot find winnr (invalid window ID) (0242c97)
  • configs: do not pass filetype directly (#143) (a133a7d)
  • config: should not disable icons when new_opts.icons.disable is not provided (#31) (1254ba2)
  • config: wrong sources path (#46) (a718484)
  • convert codepoints from nerdfonts v2 to v3 (03f6e86)
  • dropbar: WinResized not updating all affected windows (#56) (03bfd62)
  • error: not allowed in sandbox (0624308)
  • event: vim.v.event.windows is nil after :doau WinResized (e4fd982)
  • 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)
  • general behavior: do not clear the winbar when not enabled (5d7030f)
  • general behavior: invalid buffer error when clicking on winbar symbols (6553d3a)
  • general behavior: update winbar on BufModifiedSet (06e233a)
  • highlight current terminal buffer properly in menu (1869204)
  • highlights: add missing hl-DropBarMenuCurrentContext (5c51448)
  • highlights: current context & hovering highlight priorities in menu (88d71c6)
  • highlights: fix hl-DropbarMenuFloatBorder and hl-DropBarMenuNormalFloat mappings (15f32c0)
  • highlights: fix hlgroup names (f217fde)
  • highlights: fix hlgroup names (again) (990cae9)
  • highlights: fix the name of hl-DropBarMenuHoverSymbol (63ab461)
  • highlights: update current context highlights correctly (7367616)
  • highlights: winbar highlights changed after hovering/clicking if not defined (4785774)
  • hover: clear if no component if under mouse, close #80 (28436bf)
  • lint: unused variable self (5d31a34)
  • memory: dereference global callbacks correctly (3435bb8)
  • 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 thumb covered by menu border (2b7c2d5)
  • menu-scrollbar: scrollbar underflow (b4b6b4a)
  • menu: col field missing in fzf window config (eb3c3d8)
  • menu: has_bottom_border is wrong when border == { "" } (bad67c3)
  • menu: allow relative win settings other than win; improve fzf window placement (#90) (2d383f4)
  • menu: convert mouse.column to 0-based (04e04cc)
  • menu: cursor not set to first clickable component in current entry (4ef2dac)
  • menu: cursor position not restored after exiting fzf mode (cd79d3c)
  • menu: detect if mouse is at the border of the menu window, fix #39 (0ba1af6)
  • menu: drop-down menu position (1bee80f)
  • 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)
  • menu: duplicate current-context highlight in the first menu (348a318)
  • menu: error if execute :bw in dropbar menu (62590d6)
  • menu: fix <MouseMove> keymap (103a808)
  • menu: fix default keymaps in menu (1072eff)
  • menu: force fzf-window anchor to 'NW' to ensure alignment (#131) (589c1cf)
  • menu: highlighting issues that occur during menu navigation (#52) (a34d3e6)
  • menu: make sure fzf-window aligns with menu window (#131) (a296281)
  • menu: pass prev_win on opening/toggling menus (29e9b76)
  • menu: preview not updated after returning to prev menu (bfba257)
  • menu: scrollbar position (eb61e57)
  • menu: scrollbar thumb not visiable (commit e68e054) (6f01ec8)
  • menu: set init cursor pos only on the first time opening a menu (1e56ced)
  • menu: should align based on menu win's border not fzf win's (22263e6)
  • menu: should close existing sub-menus on opening sub-menus (#8) (10318d1)
  • menu: should set cursor to previous position explicitly (7d20061)
  • menu: wrong prev_window if opened from non-current window (094f34d)
  • remove hover highlight on FocusLost (#119) (50319e2)
  • sources-lsp: handle out-of-spec lsp symbol number, close #104 (6e52712)
  • sources-markdown: check buffer validity, close #114 (9885b34)
  • sources-path & configs: should use window-local cwd (d42a135)
  • sources-path: indexing nil value when previewing dirs/links, etc. (0a557bd)
  • sources-path: infinate loop finding root on Windows system (#111) (c8a209e)
  • sources-path: not switching to selected file if selected from fzf (fd917b7)
  • sources-treesitter: active ts parser ignore if highlight disabled (c88c4ff)
  • sources.path/highlights: DropBarKindFile not used (dd0a43d)
  • sources: lsp source should not request for winbar update, fix #55 (7341bee)
  • sources: markdown parser children symbols resolution logic (37d34e5)
  • sources: markdown parser init ['end'].lnum (6d9c78c)
  • sources: markdown: error when clicking on markdown heading symbol (ab3ed40)
  • sources: path: should use file icons for symbols of type 'file' (190dcc1)
  • sources: terminal: add missing name highlight (2d94c28)
  • 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)
  • The issue stems from the conditional check in (bfba257)
  • This is because we set the border[2] to ' ' (space). (c3de6fe)
  • types: add ./lua and $VIMRUNTIME/lua to library in .luarc.json (#134) (9a8e498)
  • update hover highlight on FocusGained (7b65210)
  • utils: menu: ui.select menu has thick bottom border (c3de6fe)

Performance Improvements

  • bar: avoid unnecessary redraw, also fix #38 (0ccb5d7)
  • configs: remove some rarely-used events (68eebfd)
  • menu: make preview smoother; reduce unnecessary cursor jumps (4f22910)
  • provide option to prevent frequent update while scrolling (9d39fb4)
  • symbol: cache string and length for symbols (2c02b28)

Reverts

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

Code Refactoring

  • bar: make callback indexing more robust (3dd2c28)
  • fzf/configs: remove config option opts.fzf.hl (deaa54d)
  • highlights: remove hl-DropBarIconCurrentContext (24106ff)
  • hlgroups: link hl-DropBarMenuScrollBar to hl-PmenuThumb by default (813c032)

This PR was generated with Release Please. See documentation.

@github-actions github-actions bot force-pushed the release-please--branches--master--components--dropbar.nvim branch from ce0b0e1 to d23d4a8 Compare February 23, 2024 17:38
@github-actions github-actions bot force-pushed the release-please--branches--master--components--dropbar.nvim branch from d23d4a8 to 529385d Compare June 19, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Confusing drop down menu position if click with a mouse
0 participants