Closed gldtn closed 1 month ago
Never mind, I took a look at your dot files and was able to get it like in the screebshot:
Any ideas on how to get rid of these warnings?:
Awesome theme BTW, thanks for sharing!
Thanks @gldtn, glad you like it!
I've been meaning to raise a PR in the cmp repo to fix this because the warnings bother me too. In the meantime, you can silence them by adding the following lines to your config:
cmp.setup({
window = {
completion = {
---@diagnostic disable: assign-type-mismatch
border = {
{ "", "WarningMsg" },
{ "─", "Comment" },
{ "╮", "Comment" },
{ "│", "Comment" },
{ "╯", "Comment" },
{ "─", "Comment" },
{ "╰", "Comment" },
{ "│", "Comment" },
},
scrollbar = false,
},
documentation = {
border = {
{ "", "DiagnosticHint" },
{ "─", "Comment" },
{ "╮", "Comment" },
{ "│", "Comment" },
{ "╯", "Comment" },
{ "─", "Comment" },
{ "╰", "Comment" },
{ "│", "Comment" },
},
---@diagnostic enable: assign-type-mismatch
scrollbar = false,
},
},
Did not know I could disable diagnostic that way. Thank you for replying so quickly.
Question or Suggestion
I'm not sure why, but I can't figure out why my CMP config is not showing the border and icon on the left like in the screenshot:
https://github-production-user-asset-6210df.s3.amazonaws.com/39483124/346232697-f9dc6523-f458-48df-8837-09d5c131a5c7.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240807%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240807T205937Z&X-Amz-Expires=300&X-Amz-Signature=3c18a259fc00165e62954ec797a619d8b84d67dc36c2d87756b3823960429242&X-Amz-SignedHeaders=host&actor_id=981383&key_id=0&repo_id=734174431
This is how it shows:
I'm sure it's either something I did on my config or an option I need to enable on Cyberdream.
Thanks!