Code Monkey home page Code Monkey logo

vim-devicons's Issues

Remove [ ] wrapping icons.

Is it possible to remove the wrapping [ ] around the icons in the NERDTree? I think it would look cleaner without them.

Console vim glyph defaults to single width and can't set to double.

I'm using console vim and the glyphs in NERDTree default to single width. I am unable to set it to double width even with confirming WebDevIconsUnicodeGlyphDoubleWidth is set to 1. There is still the empty space before the closing bracket. Not sure if console vim is just unable to have double width or not.

Fix and update nerdtree screenshots

Fix and update nerdtree screenshots

  • showing old markdown override 'M'
  • showing all test cases - just show the interesting ones
  • perhaps update the different terminal screenshots

colors in terminal?

First off, thanks for this plugin! Question, is there something special I have to do to enable colors per file type?

Gvim nerdtree redraw on folder open

Hi,

I have a bug, that probably can not be fixed, or it's not related to this plugin, but i'll post it here because i noticed it when i installed this. When i open nerdtree, icons are there, but when i open subfolder, beside icon for filetype, i get strange overlaps with other icons:

nerdtree-webdevicons-bug

As soon as i select a file, that overlaping dissapears and everything looks fine. It's not a much of a deal, but can be annoying. It happens only in Gvim, in terminal vim works fine. I tried calling :redraw but it didn't work out.

I believe it's some of the VIM redrawing issues, but not sure.

Here are some details about the system if needed:
OS: Xubuntu 15.04 x64
Vim: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 5 2015 15:51:32)
Included patches: 1-729
Vimrc: https://github.com/kristijanhusak/vimfiles/blob/master/vimrc

separate repo for patched fonts and font patcher?

I am concerned about size, particularly those of us who use plugin managers. if they pull with the upcoming font samples it seems like a waste to make them download all of those fonts they might not even need.

Any other opinions greatly appreciated.

Error after updating vim-airline

Get error after updating to vim-airline/vim-airline@ca925ef

This line in the config everything breaks:
let g:airline#extensions#tabline#enabled = 1

Error detected while processing function airline#extensions#tabline#get..<SNR>85_get_buffers..<SNR>85_get_visible_buffers..airline#extensions#tabline#get_buffer_name:                                               
line    1:                                                                                                                                                                                                           
E117: Unknown function: airline#extensions#tabline#formatters#webdevicons#format                                                                                                                                     
Press ENTER or type command to continue                                                                                                                                                                              
Error detected while processing function airline#extensions#tabline#get..<SNR>85_get_buffers..<SNR>85_get_visible_buffers..airline#extensions#tabline#get_buffer_name:                                               
line    1:                                                                                                                                                                                                           
E15: Invalid expression: airline#extensions#tabline#formatters#{s:formatter}#format(a:nr, s:get_buffer_list())                                                                                                       
Press ENTER or type command to continue                                                                                                                                                                              
Error detected while processing function airline#extensions#tabline#get_buffer_name:                                                                                                                                 
line    1:                                                                                                                                                                                                           
E117: Unknown function: airline#extensions#tabline#formatters#webdevicons#format                                                                                                                                     
Press ENTER or type command to continue    

execute font-patcher has ImportError

Excuse me,I encountered the following problem during the following operations.

$ ./font-patcher unpatched-sample-fonts/Droid\ Sans\ Mono\ for\ Powerline.otf
Traceback (most recent call last):
File "./font-patcher", line 4, in
import psMat
ImportError: No module named psMat

Icons not showing in vim under urxvt

Using urxvt-256color and vim on archlinux.

Font setting in ~/.Xresources
URxvt.font: xft:Droid Sans Mono for Powerline Plus Nerd File Types:size=11
URxvt.boldFont: xft:Droid Sans Mono for Powerline Plus Nerd File Types:bold:size=11

I downloaded your patched font under ~/.fonts
xset q confirms ~/.fonts is searched

:echo g:WebDevIconsUnicodeDecorateFileNodesDefaultSymbol
displays a small rectangle, the same I see in NERDTree instead of the icons

If I launch gvim, it works. The problem is only present in vim.

Fix c and c++ issues

Fix c++ glyph (++ hard to see)
Add more filetypes for c++
Add c glyph and filetype extensions

Some airline variables are not working

I have disabled file encoding information in airline by modifying g:airline_section_y by
let g:airline_section_y = '%{getcwd()}'
But after installing vim-webdevicons this variable no longer works.
Before
screenshot from 2015-06-18 12-12-20

After installing vim-webdevicons
screenshot from 2015-06-18 12-09-50

The line affecting airline_section_y is not working.

How to get the variables working again ?

ICON width issue?

bugfix

System : Ubuntu Kylin 15.04
Software : Gvim 7.4
Bundle : Vundle
Fonts : DejaVu Sans Mono for Powerline Plus Nerd File Types Mono 10

and other font get same issue too~

after I update my Nerdtree plugin.
may I upload my .vimrc file ?

-- download the picture and rename to [ vimrc ] --
vimrc copy

Use single-width glyphs

All (or at least) most glyphs appear to be wider than the normal characters (double width), and therefore an additional space gets appended.

Unfortunately the URxvt terminal does not handle those like gVim or libvte-based terminals (e.g. gnome-terminal) do (ref).

Would it be possible to only use a single character cell (as wide as a M then probably)?

Detect and warn about unsupported (old) NERDTree versions

Hi,
I'm using gvim7.4 in ubuntu and I'm sure I have installed the latest version of NERDTree, Airline as well as Pathegon with no git-NERDTree. I just installed the plugin by copying the vim-webdevicons-master folder into /bundle.

However, when gvim starts up, it gives out the following errors:

Error in function SetupListeners:
Line 1
E121:undefined variable :NERDTreePathNotifier
Error in function SetupListeners:
Line 2
E121:undefined variable :NERDTreePathNotifier
Error in function SetupListeners:
Line 3
E121:undefined variable :NERDTreePathNotifier

After that I find there is no icon loaded.

When a new file is opened, it prints the following message:

E117: undefined function: airline#extensions#tabline#webdevicons#format

I'd appreciate any kind of help.

Idea for a font-installation script

Hi Ryan,

thanks for this awesome plugin. I installed your plugin and would like to add a script, which installs the *.otf font. I got it running under Xubuntu, to change the script for other operating systems should be no problem.

No such event: nerdtree syntax match hideBracketsInNerdTree

I setup vim-webdevicons last week on another machine and it is working ok. Today I setup my work machine and I cannot get it working. Both the same version of Fedora with latest patches and I use the same vimrc on both. The only thing different is that I installed vim-webdevicons on different dates. I think maybe it is something to do with commit 203779d

Error detected while processing function <SNR>39_initialize..<SNR>39_setSyntax:
line    2:
E216: No such event: nerdtree syntax match hideBracketsInNerdTree "[\]|\[]*" contained conceal cchar=_ containedin=ALL
line    3:
E216: No such event: nerdtree set conceallevel=3
line    4:
E216: No such event: nerdtree set concealcursor=nvic
Press ENTER or type command to continue

Here is my vimrc.

" Setup Vundle bundle support
" ---------------------------
"  git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
filetype off " Required before bundles
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

    " let Vundle manage Vundle, required!
    Plugin 'gmarik/Vundle.vim'

    Plugin 'bling/vim-airline'
    Plugin 'scrooloose/nerdtree'
    Plugin 'ryanoasis/vim-webdevicons'

call vundle#end()
filetype plugin indent on " Automatically detect file types. Required after bundles.
syntax on " enable syntax

autocmd! bufwritepost .vimrc source ~/.vimrc

All my plugins are up to date.

[hughest@argon: ~/.vim/bundle]$ for X in * ;do printf "$X\t"; (cd $X ; git rev-parse HEAD;); done
nerdtree    3b98a7fcae8f9fff356907171f0406ff8cd28921
vim-airline f45ecdac15d99ed2354873a8b4d40432fd0a85a3
vim-webdevicons 5f4e194dc628f6bb16a23b64f595a42bf8bcad04
Vundle.vim  cfd3b2d388a8c2e9903d7a9d80a65539aabfe933
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2014 08:59:18)

Support frameworks

Support various frameworks with exact matches and add new partial regex matches

E.g.

*jquery*.js
*angular*.js
*dojo*.js
*mootools*.js
*prototype*.js
codeigniter* (dir)
yii* (dir), yiic, yiic.bat

Unknown function when opening Vim

After installing this plugin, I started receiving the following error message when opening Vim:

$ vim
Error detected while processing /Users/mathias/.env/.vim/bundle/vim-webdevicons/plugin/webdevicons.vim:
line  256:
E117: Unknown function: airline#add_statusline_func
Press ENTER or type command to continue

I use lightline.vim rather than vim-airline, so I guess it makes sense that it cannot find the function.

Can't see directory node icon in NERDTree

Hello, I've installed vim-webdevicons successfully (I think), but now I can not change the NerdTree symbol, because the one appearing by default is ugly (and it looks is cut):

screen shot 2015-06-06 at 00 11 41

I've tried with this settings in my vimrc , but they have no effect:

let g:WebDevIconsUnicodeDecorateFolderNodes = 1
let g:WebDevIconsUnicodeDecorateFolderNodeDefaultSymbol = ''

let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['nerdtree'] = ''

What I'm doing wrong?

Note: I've patched Monaco font (I'm on MacOSX), other icons are showing well, but directory nodes are not. I'm using gvim.

Thanks for your help.

Note 2: I don't know if could be related but my NERDTree is configured to not launch on gvim start.

Grey space after Icon

Hey, great plugin! I'm having a little problem where the space inbetween the icon and the label has a grey background. This is probably some colour setting, but I've no idea what to set to change it. Any ideas?

Thanks!

screen shot 2015-05-21 at 11 23 06

g:webdevicons_conceal_nerdtree_brackets

By setting g:webdevicons_conceal_nerdtree_brackets to 1 hide null text in all buffers/windows/tabs everywhere.

let g:webdevicons_conceal_nerdtree_brackets = 1
screen shot 2015-04-16 at 10 50 40

let g:webdevicons_conceal_nerdtree_brackets = 0
screen shot 2015-04-16 at 10 51 15

Square brackets are back.

I cannot explain when this happens exactly, but sometimes the square brackets around the icons resurface! Have you noticed this?

Quotes are concealed in json files

When I open a .json file with some some quotes are concealed

conceal

You can fix it with this setting
let g:webdevicons_conceal_nerdtree_brackets=0

greetz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.