Mercurial > vim
view runtime/compiler/onsgmls.vim @ 8730:c1ac169ee618 v7.4.1654
commit https://github.com/vim/vim/commit/52c6eaffd43a8c8865f8d6ed7cde0a8b137479e2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 25 18:42:46 2016 +0100
patch 7.4.1654
Problem: Crash when using expand('%:S') in a buffer without a name.
Solution: Don't set a NUL. (James McCoy, closes https://github.com/vim/vim/issues/714)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 25 Mar 2016 18:45:05 +0100 |
parents | 3fc0f57ecb91 |
children | 2704c4e3e20a |
line wrap: on
line source
" Vim compiler file " Compiler: onsgmls " Maintainer: Robert Rowsome <rowsome@wam.umd.edu> " Last Change: 2004 Mar 27 if exists("current_compiler") finish endif let current_compiler = "onsgmls" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=onsgmls\ -s\ % CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m, \onsgmls:%f:%l:%c:%m let &cpo = s:cpo_save unlet s:cpo_save