Mercurial > vim
view pixmaps/tb_new.xpm @ 10575:01a5f64a7a20 v8.0.0177
patch 8.0.0177: BufEnter autocommand not fired for a directory
commit https://github.com/vim/vim/commit/e13b9afe1283f5ae43232b5992372a0eb570666c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 13 22:01:02 2017 +0100
patch 8.0.0177: BufEnter autocommand not fired for a directory
Problem: When opening a buffer on a directory and inside a try/catch then
the BufEnter event is not triggered.
Solution: Return NOTDONE from readfile() for a directory and deal with the
three possible return values. (Justin M. Keyes, closes #1375,
closes #1353)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 13 Jan 2017 22:15:03 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_new_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m none c #FFFFFF", "o s iconColor1 m black c #000000", "O s topShadowColor m none c #DCDEE5", /* pixels */ " . .X. ", " X. .X. X.", " ooooooo.X.oXoX.X", " oOOOOOOOoXXXXo..", " oOOOOOOOXXXXXXXX", " oOOXOOOOoXoXXo..", " oOXXOOO.OXoXoX ", " oOOOOO.OOXoX..X ", " oOOOOOOOOXoX. .X", " oOOOOOOOOXo. .", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oXXXXXXXXXo. ", " ooooooooooo. ", " .......... "};