LunarVim/lua/interface
Luc Sinet 9b36872d88
[Feature] Encapsulate interface logic (#1320)
* Provide a utility function for aligning text

* Replace lvim banner with one using only ASCII chars

* Use strings.format instead of .. operator

* Center text in the popup based on its dimentions

* Minor improvements

* Provide a popup factory function

* Add function documentation

* Improve text alignment

* Print marker only if provider list is not empty

* Format client capabilities as list

* Pretty format lsp client capabilities

* Add a metatable to popup.lua

* Improve rendering when no lsp is available

* Take cmdheight into acount when computing popup size and pos

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-08-16 16:07:46 +03:00
..
popup.lua [Feature] Encapsulate interface logic (#1320) 2021-08-16 16:07:46 +03:00
text.lua [Feature] Encapsulate interface logic (#1320) 2021-08-16 16:07:46 +03:00