Mercurial > vim
view src/alloc.h @ 8937:da4f6e238374 v7.4.1754
commit https://github.com/vim/vim/commit/c3691332f72169c486066200c0f3935418364900
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 20 12:49:49 2016 +0200
patch 7.4.1754
Problem: When 'filetype' was set and reloading a buffer which does not
cause it to be set, the syntax isn't loaded. (KillTheMule)
Solution: Remember whether the FileType event was fired and fire it if not.
(Anton Lindqvist, closes #747)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 20 Apr 2016 13:00:06 +0200 |
parents | 553a4c8dd796 |
children | 4aead6a9b7a9 |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * alloc.h: enumeration of alloc IDs. * Each entry must be on exactly one line, GetAllocId() depends on that. */ typedef enum { aid_none = 0, aid_qf_dirname_start, aid_qf_dirname_now, aid_qf_namebuf, aid_qf_errmsg, aid_qf_pattern, aid_last } alloc_id_T;