Mercurial > vim
view runtime/ftplugin/m4.vim @ 4143:f5ef9b9c18cd v7.3.824
updated for version 7.3.824
Problem: Can redefine builtin functions. (ZyX)
Solution: Disallow adding a function to g:.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 20 Feb 2013 15:19:43 +0100 |
parents | f4f8014d516e |
children | 1218c5353e2b |
line wrap: on
line source
" Vim filetype plugin file " Language: m4 " 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< fo<" setlocal comments=:#,:dnl commentstring=dnl\ %s setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save