Mercurial > vim
diff src/globals.h @ 16217:81e6940504e8 v8.1.1113
patch 8.1.1113: making an autocommand trigger once is not so easy
commit https://github.com/vim/vim/commit/eb93f3f0e2b2ae65c5c3f55be3e62d64e3066f35
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 4 15:04:56 2019 +0200
patch 8.1.1113: making an autocommand trigger once is not so easy
Problem: Making an autocommand trigger once is not so easy.
Solution: Add the ++once argument. Also add ++nested as an alias for
"nested". (Justin M. Keyes, closes #4100)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Apr 2019 15:15:05 +0200 |
parents | 973070a30381 |
children | 7ae072701f6a |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1401,6 +1401,7 @@ EXTERN char e_interr[] INIT(= N_("Interr EXTERN char e_invaddr[] INIT(= N_("E14: Invalid address")); EXTERN char e_invarg[] INIT(= N_("E474: Invalid argument")); EXTERN char e_invarg2[] INIT(= N_("E475: Invalid argument: %s")); +EXTERN char e_duparg2[] INIT(= N_("E983: Duplicate argument: %s")); EXTERN char e_invargval[] INIT(= N_("E475: Invalid value for argument %s")); EXTERN char e_invargNval[] INIT(= N_("E475: Invalid value for argument %s: %s")); #ifdef FEAT_EVAL