Custom implementation of vim-devicons for defx.nvim.
:Defx -columns=icons:filename:type
This column is a replacement for mark column. It will properly highlight selected files.
This is the default configuration:
let g:defx_icons_enable_syntax_highlight = 1
let g:defx_icons_column_length = 2
let g:defx_icons_directory_icon = ''
let g:defx_icons_mark_icon = '*'
let g:defx_icons_parent_icon = ''
let g:defx_icons_default_icon = ''
let g:defx_icons_directory_symlink_icon = ''
Note: Syntax highlighting can cause some performance issues in defx window. Just disable it with the let g:defx_icons_enable_syntax_highlight = 0
- vim-devicons for icons
- vim-nerdtree-syntax-highlight for colors