helix-mods/helix-term
Gokul Soumya 16ccc7ead8
Add single width left margin for completion popup (#2728)
* Add single width left margin for completion popup

* Clear with ui.menu style before rendering menu

When rendering a completion popup, the popup component will clear
the area with ui.popup and then the menu component would draw over
it using a table component. We remove the left edge of the area
before passing it to the table component (so that it will be left
as padding), and the table component uses ui.menu as the style.
If ui.menu and ui.popup are different the left edge of the popup
will look different from the rest of the popup. We avoid this by
clearing the whole area with ui.menu in Menu::render
2022-06-26 17:56:35 +09:00
..
src Add single width left margin for completion popup (#2728) 2022-06-26 17:56:35 +09:00
tests replace phrase in tests 2022-06-19 00:00:31 -04:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs publish a source tarball with version and grammars (#1875) 2022-03-29 14:34:19 +09:00
Cargo.toml add test for ensuring the initial cursor on a newly opened file 2022-06-18 23:54:03 -04:00