-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Bug: Colorify not removing visual representation of color #364
Comments
good bug, will look on it today! |
till then use the bg mode of colorify. read |
unable to reproduce, u sure u are on latest commit of ui plugin? simplescreenrecorder-2024-10-12_17.07.05.mp4 |
I got this error log |
produce a video so i can reproduce |
nice, will debug |
unable to reproduce, can you share a minimal file with vid? |
I just reinstalled everything including nvim and nvchad, and now I don't have this problem anymore, maybe there was something wrong with my nvchad installation ¿? idk to be honest haha |
ohh, if someone reproduces with minimal file+vid then i'll debug this @Spell28 |
Now I'll try to create a repository with a minimal example and video |
@siduck Copy the css file below to any directory, create a line with two spaces and shift+v and do yank, then just hold down the p button to paste as in the example video P.S: I'm going to try it on pure nvchad now. 2024-12-21.13.16.57.movSome css
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
} |
@Spell28 have you updated ui plugin to the latest? |
@siduck Of course, nothing has changed 2024-12-24.14.13.50.mov |
simplescreenrecorder-2024-12-24_14.59.56.mp4weird unable to reproduce |
@siduck Use yank and past line with two spaces, don't use new line (enter), with enter error is not shown. |
@siduck I changed the lspvars option to false and the error does not appear, does this suggest something? |
that means there will be no lsp based highlighting i.e from css lsp, tailwind etc |
I don't know how but this completely eliminates the problem, so somewhere in the code associated with this setting there is a problem. Now not everything highlights up because I turned it off, but at least I can use this. |
simplescreenrecorder-2024-12-26_15.30.10.mp4i yanked and pasted, still no err @Spell28 you got discord or something? i want to debug and fix this issue real quick |
Maybe is something that is present in a specific OS? I had this issue when I was on Fedora, now I'm on Arch and I don't 🤔 |
Describe the bug
Colorify not removing visual representation of color after removing the color hex.
To Reproduce
Write hex color, Colorify showing visual representation of color, remove hex color.
Expected behavior
Visual representation of color getting removed.
Screenshots
https://github.com/user-attachments/assets/068762e3-5651-4af8-85b2-439ae1187b8b
Operating System:
Fedora Linux 40 (KDE Plasma) x86_64
Neovim Version:
NVIM v0.10.1
Build type: RelWithDebInfo
LuaJIT 2.1.1720049189
The text was updated successfully, but these errors were encountered: