-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(win)!: support additional border styles (#1668)
Refactor win class code: - Support both neovim and fzf border styles for `winopts.border|winopts.preview.border`, styles inlcude: ``` # `nvim_open_win` styles none single double rounded solid shadow # fzf-lua styles (some are aliases) empty bold block solidblock thicc thiccc thicccc # fzf borders border noborder border-none border-rounded border-sharp border-bold border-double border-block border-thinblock border-horizontal border-top border-bottom ``` - Improve `treesitter-context` attach - Refactor (normalize) layout generation code - Refactor scrollbar code - Refactor preview border: remove dedicated border window and use `nvim_open_win` title options instead (neovim >= 0.9) - Fix scroll position caching with entries that have no line|col - Fix fullscreen with `winopts.relative=cursor` Other changes: - Require Neovim 0.7 and remove backward compat code - Default profile set to `default-title` on neovim >= 0.9 - Modify profiles `borderless|borderless-full` to use the new border options
- Loading branch information
Showing
16 changed files
with
392 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.