Skip to content

Add incoming_calls and outgoing_calls support#95

Open
YaQia wants to merge 4 commits intoDNLHC:masterfrom
YaQia:master
Open

Add incoming_calls and outgoing_calls support#95
YaQia wants to merge 4 commits intoDNLHC:masterfrom
YaQia:master

Conversation

@YaQia
Copy link
Copy Markdown

@YaQia YaQia commented Jan 15, 2026

AI generated code. Need careful code review.

YaQia added 4 commits January 14, 2026 02:47
…in LSP

When an LSP server does not support textDocument/prepareCallHierarchy,
show an info message and return early without calling the callback.
This prevents neovim from showing a pager confirmation dialog when
combined with additional output messages.
In detached mode (relative='editor'), the preview window positioning needs
to account for all UI elements above the source window:

- Move winbar_space calculation into get_offset_top() to properly handle
  each window's individual winbar (e.g., dropbar.nvim sets winbar per window)
- Use vim.fn.win_screenpos() to detect tabline presence instead of checking
  vim.o.tabline, as tabline only appears at the absolute editor top
- Remove redundant tabline_space from row calculation since tabline offset
  is now correctly computed in get_offset_top()
- Update border/statusline comment for clarity

This ensures the preview window aligns correctly when:
- Window width < 100 columns (detached mode with relative='editor')
- Multiple horizontal splits with individual winbars exist
- Tabline is or isn't configured
- Preview can span across vertical splits for better display
@YaQia
Copy link
Copy Markdown
Author

YaQia commented Jan 31, 2026

@DNLHC I made a fix of the preview window row offset within detached mode (width < 100)(deb65b8). If you don't think incoming_calls/outgoing_calls are your business, deb65b8 is still a good fix. You need to check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant