summaryrefslogtreecommitdiff
path: root/lua/interface/popup.lua
AgeCommit message (Collapse)Author
2021-10-10feat: add an independent lvim namespace (#1699)kylo252
2021-08-16[Feature] Encapsulate interface logic (#1320)Luc Sinet
* 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 <[email protected]>