Mercurial > vim
view runtime/ftplugin/ld.vim @ 9998:3063d1acd0c9 v7.4.2272
commit https://github.com/vim/vim/commit/9f8187c335b4fb07be9095dfdd0fc52670ba3c3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 27 20:34:01 2016 +0200
patch 7.4.2272
Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient.
Solution: Instead of making a copy of the variables dictionary, use a
reference.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Aug 2016 20:45:05 +0200 |
parents | f4f8014d516e |
children | 1218c5353e2b |
line wrap: on
line source
" Vim filetype plugin file " Language: ld(1) script " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< inc< fo<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save