Mercurial > vim
view runtime/ftplugin/nsis.vim @ 9525:858bd3176f30 v7.4.2043
commit https://github.com/vim/vim/commit/93431df9eb02f7cf3d7f2142bb1bef24c5f325b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 15 20:14:44 2016 +0200
patch 7.4.2043
Problem: setbuvfar() causes a screen redraw.
Solution: Only use aucmd_prepbuf() for options.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 15 Jul 2016 20:15:06 +0200 |
parents | f4f8014d516e |
children | 1218c5353e2b |
line wrap: on
line source
" Vim ftplugin file " Language: NSIS script " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 let s:cpo_save = &cpo set cpo&vim if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let b:undo_ftplugin = "setl com< cms< fo< def< inc<" setlocal comments=s1:/*,mb:*,ex:*/,b:#,:; commentstring=;\ %s setlocal formatoptions-=t formatoptions+=croql setlocal define=^\\s*!define\\%(\\%(utc\\)\\=date\\|math\\)\\= setlocal include=^\\s*!include\\%(/NONFATAL\\)\\= let &cpo = s:cpo_save unlet s:cpo_save