-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: allow `Border`s to be resized * refactor: reduced overlap between `:new` and resizing function - rename `Border:resize` to `Border:set_size` - allow `Border:set_size` to be passed on option to create a window rather than resize - remove overlapped parts from `Border:new` and use `Border:set_size` with `create_window` set to `true` * stylua * feat: move popup resizing PR to plenary * stylua * chore: refactoring * refactor: use builtin nil-check for `create_window` * refactor: factor out `__update_lines_get_win_config` * fix: update `__update_lines...` name everywhere * fix: variable scope issue * refactor: rename aligning function * refactor: rename to match vim's `popup_move` * refactor: factor our positional config parsing to reuse in `popup.move` * stylua * chore: docs/add default height * docs: comments * fix: deepcopy `vim_options` to avoid changes to supplied variables * refactor: rename `set_size` to `move` - this then matches terminology for popups * fix: update `Border` table values on `move` * stylua * refactor: calculate size before position * stylua
- Loading branch information
Showing
2 changed files
with
174 additions
and
97 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