Mercurial > vim
view src/pathdef.sh @ 12808:2ff38c2addd4 v8.0.1281
patch 8.0.1281: loading file type detection slows down startup
commit https://github.com/vim/vim/commit/851ee6c3da5fd726d92e1e3300d7e5e2e8b907c5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 9 20:46:17 2017 +0100
patch 8.0.1281: loading file type detection slows down startup
Problem: Loading file type detection slows down startup.
Solution: Move functions to an autoload script.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Nov 2017 21:00:05 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: