Skip to content

E121: Undefined variable: g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols #19

@ubaldot

Description

@ubaldot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions