Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(?): synax highliting in popup with snippet of completion source (also rendeting bug repot) #52

Open
msva opened this issue Jan 4, 2024 · 2 comments

Comments

@msva
Copy link

msva commented Jan 4, 2024

Hi there!

  1. it would be great, if code would be syntax-highlited with for appropriate language in the popup windows with snipped of code where completion was taken (although, I'm not sure, if it worth, as there are ust few lines usually 🤷). Now it renders with no colors, see screenshot.
    Also, actually, I'm not sure if it is not cmp itself issue 🤷

  2. there is a glitch in rendering the "frames" of the popup with source snippet, if there is long lines there (see screenshot, notice right popup corner)

Although, I also not sure it it is not a "cmp" itself issue here, actually 😀

image

@msva
Copy link
Author

msva commented Jan 4, 2024

(also, it would be nice if background of that popup will be inherited from cmp's menu)

@lukas-reineke
Copy link
Owner

lukas-reineke commented Jan 11, 2024

1 shouldn't be too hard, I'll look into this.

2 and the background color are both issues with cmp itself, please open an issue in the cmp repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants