lambdalisue/vim-glyph-palette

E121: Undefined variable: g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols

Open

#19 opened on Oct 6, 2022

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Vim Script (16 forks)github user discovery
help wanted

Repository metrics

Stars
 (132 stars)
PR merge metrics
 (PR metrics pending)

Description

If I include the following

Plugin 'ryanoasis/vim-devicons'
Plugin 'lambdalisue/glyph-palette.vim.git'
...

let g:pippo = glyph_palette#tools#palette_from_devicons({
    	      \ 'GlyphPalette9': ['license', 'png', 'vim', 'key'],
    	      \ 'GlyphPalette5': ['py', 'yml', 'toml'],
    	      \})
   
let g:glyph_palette#palette = copy(g:pippo)

augroup my-glyph-palette
  autocmd! * 
  autocmd FileType nerdtree call glyph_palette#apply()
augroup END

in my .vimrc then I got the following message error at startup

Messages maintainer: Bram Moolenaar <Bram@vim.org>
Error detected while processing C:\Users\yt75534\.vimrc[148]..function glyph_palette#tools#palette_from_devicons:
line    2:
E121: Undefined variable: g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols

Running Vim9 on Windows 10.

Contributor guide