-
Notifications
You must be signed in to change notification settings - Fork 65
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
more than one character as an icon #145
Closed
Labels
Comments
Not yet, because Vim's "conceal" feature only supports 1 char. Should work if vim/vim#4687 is ever resolved. |
brianhuster
added a commit
to brianhuster/vim-dirvish
that referenced
this issue
Feb 6, 2025
brianhuster
added a commit
to brianhuster/vim-dirvish
that referenced
this issue
Feb 6, 2025
brianhuster
added a commit
to brianhuster/vim-dirvish
that referenced
this issue
Feb 6, 2025
brianhuster
added a commit
to brianhuster/vim-dirvish
that referenced
this issue
Feb 6, 2025
brianhuster
added a commit
to brianhuster/vim-dirvish
that referenced
this issue
Feb 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to add ryanoasis/vim-devicons to the dirvish buffer, calling
dirvish#add_icon_fn({p -> WebDevIconsGetFileTypeSymbol(p)})
This does add the correct icons, but unfortunately theres not enought spacing between them and the text, as you can see by the image below.
I'd like to add more spacing between the icon and the text, so I tried appending it to the icon, like
dirvish#add_icon_fn({p -> WebDevIconsGetFileTypeSymbol(p) . ' '})
, but this does nothing (I guess this is being trimmed somewhere), and if I try to do it likedirvish#add_icon_fn({p -> WebDevIconsGetFileTypeSymbol(p).'x'})
, I get the following error while trying to run:Dirvish
Is there any way of adding more spacing to either the icon or the filepath?
The text was updated successfully, but these errors were encountered: