VimDevIcons is the last loaded vim plugin?[x] Are you using Mac, Linux or Windows? Linux (Kubuntu 18.04.4)
[ ] Provide screenshots where appropriate
I just tested the example code for Lightline (section: devicons-lightline-setup) to enable the icons in the status and it works perfectly fine. I did not customize LightLine and I am using only the code in the example in my vimrc.
When I enable the two functions in the example (MyFiletype and MyFileFormat), the gui becomes terribly slow, barely usable.
For reference, I use the icons in NerdTree without any problem.
This is the list of all the plugins I use:
Plug 'tpope/vim-sensible'
Plug 'scrooloose/nerdtree'
Plug 'junegunn/goyo.vim'
Plug 'mhinz/vim-startify'
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'jiangmiao/auto-pairs'
Plug 'itchyny/lightline.vim'
Plug 'Shougo/echodoc.vim'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ervandew/supertab'
Plug 'Yggdroot/hiPairs'
Plug 'Yggdroot/indentLine'
Plug 'ryanoasis/vim-devicons'
I experience a similar issue tested on Neovim with airline and devicons only and I've bisected the issue to: https://github.com/ryanoasis/vim-devicons/pull/306 - right before it files load and are edited smoothly and right after it editing is sssssssslow.. Probably similar to what @petobens was experiencing.
Makes sense considering there's an external command there that's probably being run on every update of a status line or whatever.
cc @Innei.
@doronbehar is it resolved with #310 ?
Yes :).
I confirm it works on on my Vim, too!
Thanks!
Most helpful comment
Yes :).