Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLenses support #12
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cpitclaudel
Sep 24, 2018
Owner
I use quick-peek in company-coq to display info in the style that you call lenses, so I'm all for supporting your use case too :) IOW, I'd prefer patches over a fork.
|
I use quick-peek in company-coq to display info in the style that you call lenses, so I'm all for supporting your use case too :) IOW, I'd prefer patches over a fork. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yyoncho
Sep 24, 2018
I might be missing something but there is no reference to quick-peek in https://github.com/cpitclaudel/company-coq ?
yyoncho
commented
Sep 24, 2018
|
I might be missing something but there is no reference to quick-peek in https://github.com/cpitclaudel/company-coq ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cpitclaudel
Sep 24, 2018
Owner
That's because the code from quick-peek was originally extracted from company-coq, and I haven't done the refactoring to make company-coq use the separately packaged version yet.
|
That's because the code from quick-peek was originally extracted from company-coq, and I haven't done the refactoring to make company-coq use the separately packaged version yet. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yyoncho
Sep 24, 2018
Ok, just one more question - as far as I can see quick-peek--insert-spacer is called unconditionally - do I miss something or quick-peek as it is does not support what I am calling lenses?
yyoncho
commented
Sep 24, 2018
|
Ok, just one more question - as far as I can see |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Maybe I'm misunderstanding what you mean by lenses? :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yyoncho
Sep 25, 2018
I believe that the following changes are needed (unless I am missing something).
- Provide option to display the overlays without the spacer since they take a lot of space.
- Optionally allow displaying multiple overlays on the same line.
yyoncho
commented
Sep 25, 2018
|
I believe that the following changes are needed (unless I am missing something).
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cpitclaudel
Sep 25, 2018
Owner
Provide option to display the overlays without the spacer since they take a lot of space.
Can you show a screenshot? Normally the spacer should be very thin on graphic displays; maybe there's a bug?
Can you show a screenshot? Normally the spacer should be very thin on graphic displays; maybe there's a bug? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yyoncho
commented
Sep 26, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cpitclaudel
Sep 26, 2018
Owner
OK, I'm sold :) Do you want to prepare a pach? We could have a dynamic variable for this.
|
OK, I'm sold :) Do you want to prepare a pach? We could have a dynamic variable for this. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yyoncho
Sep 26, 2018
There are a few more things that I have to do before that, then I will provide a patch. Also, I have to figure out whether I have to support multiple lenses on a single line which may complicate the code a bit. Also, choosing overlays kind of depends on noctuid/link-hint.el#24 (comment) .
yyoncho
commented
Sep 26, 2018
|
There are a few more things that I have to do before that, then I will provide a patch. Also, I have to figure out whether I have to support multiple |


yyoncho commentedSep 24, 2018
I am working on
lsp-modeand I want to use the library for displaying lenses (https://camo.githubusercontent.com/348d682e4a4cc1f84e8571a9488c2087ae754c88/68747470733a2f2f692e696d6775722e636f6d2f437846506f50472e706e67) this would require changes toquick-peekto support that option(e. g. removing the spacers). Are you fine with that approach or you would prefer to fork it?