Comments (12)
FWIW I was unable to replicate. I use nvim-web-devicons
and Nerd Font icons in various places. Attempting to format my cmdline completion as pictured above worked as expected.
from vim.
It's not clear what this has to do with the dracula colorscheme, or even what's broken (I can see other icons in the screen that look right?).
from vim.
It's not clear what this has to do with the dracula colorscheme, or even what's broken (I can see other icons in the screen that look right?).
the left part of the screenshot is from someone else dracula theme. the broken one that is the right one which I am searching which looks like it has been cut down is from this dracula theme. Dracula theme breaks most of nerd font icons.
When I use other themes the icons work flawlessly but when I use this dracula theme then it breaks and starts increasing its size and starts cutting them.
What is breaking it explicitly I don't know. But I do know is in this dracula theme.
Remember: The icons you see working correctly are from someone else dracula theme I am using. The ones that are broken are from this dracula theme
from vim.
I want to move on to this dracula theme which is the original one but I can not since most icons keep breaking.
from vim.
I'm not sure I understand, but: can you provide links to these other themes where the icons work as you want? Perhaps then we can find out what the difference is.
from vim.
This is the one I currently use from my nvim setup which icons work.
https://github.com/AndreM222/dracula.nvim
from vim.
@AndreM222 Have you tried tweaking any settings in the configuration? See :h dracula-configuration
.
Knowing what plugin is providing those icons in the cmdline & what highlight group they use could help.
from vim.
I did long time ago but don't remember since I made the switch.
I will guess might be italics having the problem but I do not know for sure.
from vim.
Here's a list of things that seem to be in the Lua that aren't here (plugin groups excluded):
- NormalFloat
- FloatBorder
- Keywords
- QuickFixLine
- Terminal
- EndOfBuffer
- all the
@
prefixed stuff (see also #314 for some)
None of those seem particularly relevant, but you could try them. Otherwise, go through the highlight plugin groups, too.
You can find the Lua colors setup at https://github.com/AndreM222/dracula.nvim/main/lua/dracula/groups.lua
from vim.
@AndreM222 Have you tried tweaking any settings in the configuration? See
:h dracula-configuration
.Knowing what plugin is providing those icons in the cmdline & what highlight group they use could help.
I am using
- nvim-cmp for the autocompletion,
- nvim-web-devicons,
- lspkind
from vim.
This is my setup
local status, kind = pcall(require, "lspkind")
if (not status) then return end
kind.init({
mode = 'symbol_text',
preset = 'codicons',
symbol_map = {
Text = "",
Method = "",
Function = "",
Constructor = "",
Field = "",
Variable = "",
Class = "",
Interface = "",
Module = "",
Property = "",
Unit = "",
Value = "",
Enum = "",
Keyword = "",
Snippet = "",
Color = "",
File = "",
Reference = "",
Folder = "",
EnumMember = "",
Constant = "",
Struct = "",
Event = "",
Operator = "",
TypeParameter = ""
},
})
-- Setup Lsp protocol
local protocol = require('vim.lsp.protocol')
protocol.CompletionItemKind = {
'', -- Text
'', -- Method
'', -- Function
'', -- Constructor
'', -- Field
"", -- Variable
'', -- Class
'', -- Interface
'', -- Module
'', -- Property
'', -- Unit
'', -- Value
'', -- Enum
'', -- Keyword
'', -- Snippet
'', -- Color
'', -- File
'', -- Reference
'', -- Folder
'', -- EnumMember
'', -- Constant
'', -- Struct
'', -- Event
'', -- Operator
'', -- TypeParameter
}
from vim.
I activated the atlasengine from the windows terminal and it kind of fixed it.
Not completely but by the most of it, it was improved.
from vim.
Related Issues (20)
- Colors of Dracula theme are off. HOT 6
- nvim-cmp colors HOT 6
- How to change shade of green HOT 1
- Highlight works from the start with treesitter, but is lost after sourcing vimrc. HOT 23
- [advice] change the name of plugin HOT 2
- theme is transparent in kitty HOT 10
- The bg-color of neovim with dracula theme is not as in their site. HOT 4
- The highlight breaks after the second use of :colorscheme dracula HOT 3
- Issue with tree-sitter-css HOT 5
- [Feature Request]: lsp semantic highlight HOT 16
- Janky Cursorline Highlighting With Treesitter HOT 5
- Invalid character in group name HOT 14
- Colors doesn't look the same of VScode for JS files HOT 1
- Sourcing vimrc changes theme HOT 5
- can't make dracula_pro installation instructions work for me on Vim HOT 3
- Would be possible to assign a different color to a nvim :terminal window? HOT 2
- Dracula not working HOT 4
- How dracula supports italics for comments HOT 4
- Lunar Vim Color Scheme Mismatch to Other Editors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim.