Add detail to the snippet completion items#29
Add detail to the snippet completion items#29urandom wants to merge 1 commit intonvim-lua:masterfrom
Conversation
Use the menu to add further detaisl for any snippet completions, to help the user pick the right one without guessing.
|
I personally thinks putting this information in completion menu makes the menu a little bit too long to see, especially with Neosnippets the description is often very long. That's why the information is shown in the hover windows for now. |
|
On one hand, those entries could be large, which would be a problem for a small window. On the other however, relying on the hover for information is not very user friendly. One would have to go over the entries one by one in order to find the one that fits. Perhaps the "menu" text could be truncated to at most N characters, where N could either be configurable, or somehow derived from the available size, if the later is possible to be queried. |
|
Actually the hover window idea comes from |
Use the menu to add further details for any snippet completions, to help the user pick the right one without guessing.