Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 16:06
    Jipok edited #670
  • Sep 24 16:05
    Jipok opened #670
  • Sep 24 10:20
    KingScooty edited #669
  • Sep 24 10:20
    KingScooty edited #669
  • Sep 24 10:18
    KingScooty opened #669
  • Sep 23 07:19
    esdnm opened #668
  • Sep 22 20:19
    trallnag commented #520
  • Sep 21 12:27
    NickCraver opened #667
  • Sep 20 11:45
    Ramiferous opened #666
  • Sep 19 14:08
    rakshit087 commented #440
  • Sep 18 18:49
    LandonSchropp commented #661
  • Sep 18 06:29
    Bahnschrift commented #661
  • Sep 18 05:09
    pr0PM commented #663
  • Sep 18 05:03
    Bahnschrift commented #661
  • Sep 18 05:02
    Bahnschrift commented #661
  • Sep 16 18:07
    katacarbix opened #665
  • Sep 15 05:32
    mkastner commented #272
  • Sep 15 04:34
    lixiaoquan commented #318
  • Sep 13 19:46
    kraftwerk28 commented #664
  • Sep 13 19:14
    kraftwerk28 edited #664
Igor Lakić
@igorlakic

Hi all! :) I have one issue I cannot solve related to vim-devicons and startify. I simply cannot get devicons to show on the startify. I have devicons in my NERDtree, they are functioning properly there but cannot get them in startify.
I put these lines at the end of my "init.vim" file:

" Reload icons after init source
if exists('g:loaded_webdevicons')
  call webdevicons#refresh()
endif
" adding to vim-startify screen
let g:webdevicons_enable_startify = 1

let entry_format = "'   ['. index .']'. repeat(' ', (3 - strlen(index)))"

if exists('*WebDevIconsGetFileTypeSymbol')  " support for vim-devicons
  let entry_format .= ". WebDevIconsGetFileTypeSymbol(entry_path) .' '.  entry_path"
else
  let entry_format .= '. entry_path'
endif

I would appreciate your help. Thanks in advance! :)

hikerpig
@hikerpig

Hi all ~ I have encountered an error, have anyone seen this before ?

Plug devicons is added after denite, but I still got this, kind of confused.

[denite] Traceback (most recent call last):
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/rplugin.py", line 28, in start
[denite]     return ui.start(args[0], context)
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/ui/default.py", line 65, in start
[denite]     self._start_sources_queue(context)
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/ui/default.py", line 155, in _start_sources_queue
[denite]     self._start(context['sources_queue'][0], context)
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/ui/default.py", line 202, in _start
[denite]     self._init_denite()
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/ui/default.py", line 755, in _init_denite
[denite]     self._denite.start(self._context)
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/parent.py", line 44, in start
[denite]     self._put('start', [context])
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/parent.py", line 80, in _put
[denite]     return self._child.main(name, args, queue_id=None)  # type: ignore
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/child.py", line 71, in main
[denite]     self.start(args[0])
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/child.py", line 98, in start
[denite]     self._load_filters(context)
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/child.py", line 470, in _load_filters
[denite]     for Filter, path, module_path in rplugins:
[denite]   File "~/.vim/plugged/denite.nvim/rplugin/python3/denite/util.py", line 256, in import_rplugins
[denite]     spec.loader.exec_module(module)  # type: ignore
[denite]   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
[denite]   File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
[denite]   File "~/.vim/plugged/vim-devicons/rplugin/python3/denite/filter/devicons_denite_converter.py", line 3, in <module>
[denite]     from .base import Base
[denite] SystemError: Parent module 'denite.filter' not loaded, cannot perform relative import
[denite] Please execute :messages command.
Igor Lakić
@igorlakic

Hi all! :) I have one issue I cannot solve related to vim-devicons and startify. I simply cannot get devicons to show on the startify. I have devicons in my NERDtree, they are functioning properly there but cannot get them in startify.
I put these lines at the end of my "init.vim" file:

" Reload icons after init source
if exists('g:loaded_webdevicons')
  call webdevicons#refresh()
endif
" adding to vim-startify screen
let g:webdevicons_enable_startify = 1

let entry_format = "'   ['. index .']'. repeat(' ', (3 - strlen(index)))"

if exists('*WebDevIconsGetFileTypeSymbol')  " support for vim-devicons
  let entry_format .= ". WebDevIconsGetFileTypeSymbol(entry_path) .' '.  entry_path"
else
  let entry_format .= '. entry_path'
endif

I would appreciate your help. Thanks in advance! :)

I've opened a new issue (ryanoasis/vim-devicons#302). I hope someone will find some time to help me solve this problem. Thanks in advance!

MinHyeokBae
@bmh8993
hi all! vim-devicons so beaty! but in my case, icon image so thick..bold...
How can I make it thinner?
MinHyeokBae
@bmh8993
hmm..I didn't do anything. resolved..;;
Sushovan
@sushovannits

Hi guys, I have just set up vim-devicons in mac and using macvim and iterm2. And I cannot see any file icons. All come as ?
Going through the troubleshooting section I see that

:echo g:WebDevIconsUnicodeDecorateFileNodesDefaultSymbol

fails for me. What should be done next?

Similar problem as @wonter
I can set the default symbol and have it display in NERDTree
Harun Sheikhali
@hsheikhali
Hey Guys I got a question -- does anyone know where I can view a selection of different icon options?
Michel Difils
@mdifils
image.png
Hi guys, I have a similar problem as @sushovannits . I have just set up vim-devicons in Ubuntu 20.04 (WSL2), I'm using neovim and I can't see any filetype icon. All comes as 
Checking the default symbol fails and setting it to 'x' shows this:
image.png
I downloaded nerd font into this folder:
Michel Difils
@mdifils
image.png
image.png
I set up the guifont in my init.vim file and devicon is the last plugin to be loaded
image.png
Michel Difils
@mdifils
I have installed vim-devicon with vim-plug manager:
image.png
Michel Difils
@mdifils
Can you please help me figure out what's wrong?
I'm using ubuntu 20.04 (WSL2), bash version 5.0.16(1), NVIM v0.4.3
Thanks
Sushovan
@sushovannits
@mdifils my problem was this one https://github.com/ryanoasis/nerd-fonts/issues/13#issuecomment-190252936
I am using iterm2 and I had to chose the option of Use a different font for non-ASCII text
Might be something similar for you?
csh
@caoshenghui
are u using windows terminal?download the LiberationMono to your windows and set terminal font
so it works right on wsl...
Shiny Hou
@kuops
image.png
when i press ?help have afterimage
neovim 0.4.3
but use vim 8.1 not happen
Daniel O'Brien
@dob9601
Hi, I was wondering if it was possible to change the airline tabline format without breaking vim-devicons
vim-devicons appears to set airline#extensions#tabline#formatter to webdevicons which appears to be a combination of airlines default tabline format but with dev icons. However, I want to use the unique_tail format instead
Daniel O'Brien
@dob9601
Never mind, I've figured out how to do so -
Harsha
@harshavardhanc
Hi Guys, I'm using arch linux with neovim+nerdtree, just tried using this plugin but I'm getting broken icons in nerdtree. Is there any fonts package we need to install to make it work?
Abdullah
@Abdullah_gitlab
Robert DeFilippi
@rrfd_twitter
Hello, does vim-devicons have a "legend" for what each icon means?
Sam Sysnomid
@sysnomid_gitlab
image.png
devicons are only showing up half on monospace font?
any help?
Sam Sysnomid
@sysnomid_gitlab
@ryanoasis
I think there was a github thread about this somewhere idk
but I cant find any usable fixes
only italic fonts work
Rajat Negi
@THERajat08_twitter
screenshot.png
Hello people. I just installed devicons using vim-plug . But after installation , there aren't any icons I can see. Instead, there are some numbers in a box wherever icons are supposed to be.
The screenshot shows the result
Rajat Negi
@THERajat08_twitter
Edit : i found the problem. Well I had to change my terminal font on my own.
screenshot_1.png
Now can you guys recommend a nerd font that is very colorful and vibrant like the one shown in official repo.
DONofDESTROY
@DONofDESTROY
@n3rio install the nerd font and make sure you enable it in your terminal
Zlatan
@ZlatSic
image.png
Hi guys, I'm having some troubles with the brackets appearing around icons, despite disabling all plugins except nerdtree and vim-devicons, checking whether the webdevicons_conceal_nerdtree_brackets flag is set and that conceallevel = 3 in nerdtree. I seem to have hit a wall here, I checked the issue threads on these problems and, at a certain point managed to make the brackets disappear by callling webdevicons#refresh(), but nothing reliable. Thought I should first asking here before opening an issue since similar ones already exist. I'm also sending a screenshot of the nerdtree, all plugins are disabled, conceallevel is 3, webdevicons_conceal_nerdtree_brackets is 1. Also, my plugin manager is pathogen, I haven't tried Vundle yet like one of the issue threads suggests
Zlatan
@ZlatSic
I managed to figure out a workaround, by explicitly calling syntax enable in ftplugin/nerdtree.vim (it works in vimrc as well, but I like to separate solution to a file type if it's something specific ), not sure why this is required to be done, as it's already called in vim-sensible, but it works properly now. If anyone can explain or warn me if I'm doing something dangerous here, I'll be checking here for replies
kalexm
@kalexm
while configuring nvim i stumbled upon this addon to make nerdtree nicer and i want to install it. The plugin was easily installed with plug and its showing some UtF8 square. Its missing the actual font I guess. Installing the font is a problem because most information is about osx and iterm etc. I am on a pixelbook and wonder if it is at all possible. There is few information on how to install fonts there.