Skip to content

Integrating devicons #33

Open
Open
@asilvadesigns

Description

@asilvadesigns

Hello, would like some help integrating devicons, assuming it is possible.

Using the WebDevIconsGetFileTypeSumbol(), from https://github.com/ryanoasis/vim-devicons#developer, I can replace line 110, within buftablime.vim from this:
let tab.label = lpad . get(tab, 'pre', '') . tab.label . ' '
to this:
let tab.label = lpad . get(tab, 'pre', '') . tab.label . ' %{WebDevIconsGetFileTypeSymbol()} '.

It mostly works, except that all buffers get the same icon as the current. *sigh. I'm not sure how to address this, and would greatly appreciate your help, assuming it's possible.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions