Mercurial > vim
view runtime/compiler/jjs.vim @ 23274:10bbff53d3d1 v8.2.2183
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
Commit: https://github.com/vim/vim/commit/60f63100b9bc1d24b7b80c81f43cf2fc3da95987
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 21 20:32:43 2020 +0100
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
Solution: Ignore these deprecated options in Vim9 script. (closes https://github.com/vim/vim/issues/7508)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 21 Dec 2020 20:45:05 +0100 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Nashorn Shell " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2018 Jan 9 if exists("current_compiler") finish endif let current_compiler = "jjs" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=jjs CompilerSet errorformat=%f:%l:%c\ %m, \%f:%l\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save