]> granicus.if.org Git - vim/commitdiff
patch 8.0.0360: sometimes VimL is used instead of "Vim script" v8.0.0360
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Feb 2017 18:03:28 +0000 (19:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Feb 2017 18:03:28 +0000 (19:03 +0100)
Problem:    Sometimes VimL is used, which is confusing.
Solution:   Consistently use "Vim script". (Hirohito Higashi)

15 files changed:
runtime/doc/if_mzsch.txt
runtime/doc/if_pyth.txt
runtime/doc/syntax.txt
runtime/doc/usr_02.txt
runtime/doc/version7.txt
src/Makefile
src/eval.c
src/ex_getln.c
src/if_py_both.h
src/if_xcmdsrv.c
src/testdir/Make_all.mak
src/testdir/runtest.vim
src/testdir/test49.vim
src/testdir/test_vimscript.vim [moved from src/testdir/test_viml.vim with 100% similarity]
src/version.c

index 9ef6c3d38614e79fca559398e21edfec8f607662..7e206f5190c07c5bd4b1a3652d172c7d89ff396b 100644 (file)
@@ -249,7 +249,7 @@ Windows                                                         *mzscheme-window*
 5. mzeval() Vim function                                   *mzscheme-mzeval*
 
 To facilitate bi-directional interface, you can use |mzeval()| function to
-evaluate MzScheme expressions and pass their values to VimL.
+evaluate MzScheme expressions and pass their values to Vim script.
 
 ==============================================================================
 6. Using Function references                               *mzscheme-funcref*
index 71bbb13f894b38a8be72522b5be6d8666de50156..4f9ecbdbedb582acf2c8bda7c1d8957a5837057f 100644 (file)
@@ -676,11 +676,11 @@ vim.Function object                               *python-Function*
                      dictionary. Note that explicit `self` keyword used when 
                      calling resulting object overrides this attribute.
         auto_rebind  Boolean. True if partial created from this Python object 
-                     and stored in the VimL dictionary should be automatically 
-                     rebound to the dictionary it is stored in when this 
-                     dictionary is indexed. Exposes Vim internal difference 
-                     between `dict.func` (auto_rebind=True) and 
-                     `function(dict.func,dict)` (auto_rebind=False). This 
+                     and stored in the Vim script dictionary should be
+                     automatically rebound to the dictionary it is stored in
+                     when this dictionary is indexed. Exposes Vim internal
+                     difference between `dict.func` (auto_rebind=True) and
+                     `function(dict.func,dict)` (auto_rebind=False). This
                      attribute makes no sense if `self` attribute is `None`.
 
     Constructor additionally accepts `args`, `self` and `auto_rebind` 
@@ -711,7 +711,7 @@ vim.Function object                         *python-Function*
 8. pyeval() and py3eval() Vim functions                        *python-pyeval*
 
 To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()| 
-functions to evaluate Python expressions and pass their values to VimL.
+functions to evaluate Python expressions and pass their values to Vim script.
 |pyxeval()| is also available.
 
 ==============================================================================
index 7aaea9dc89716429177e35c3bb1f5afb8028912f..9ef8d61e37a70822cc2d41e9a386817d04db2e2e 100644 (file)
@@ -3327,8 +3327,8 @@ Some folding is now supported with syntax/vim.vim: >
    g:vimsyn_folding =~ 't' : fold tcl      script
 <
                                                        *g:vimsyn_noerror*
-Not all error highlighting that syntax/vim.vim does may be correct; VimL is a
-difficult language to highlight correctly.  A way to suppress error
+Not all error highlighting that syntax/vim.vim does may be correct; Vim script
+is a difficult language to highlight correctly.  A way to suppress error
 highlighting is to put the following line in your |vimrc|: >
 
        let g:vimsyn_noerror = 1
index 48dede8e4fb37b634a5803f6b6c1c5259166d2fb..3c689436f3bacd1f517581ecbb8be8f49f68d782 100644 (file)
@@ -589,7 +589,7 @@ Summary:                                    *help-summary*  >
     register: >
        :help quote:
 
-13) Vim Script (VimL) is available at >
+13) Vim script is available at >
        :help eval.txt
 <   Certain aspects of the language are available at :h expr-X where "X" is a
    single letter. E.g.  >
@@ -599,10 +599,10 @@ Summary:                                  *help-summary*  >
    Also important is >
        :help function-list
 <   to find a short description of all functions available.  Help topics for
-   VimL functions always include the "()", so: >
+   Vim script functions always include the "()", so: >
        :help append()
-<   talks about the append VimL function rather than how to append text in the
-   current buffer.
+<   talks about the append Vim script function rather than how to append text
+   in the current buffer.
 
 14) Mappings are talked about in the help page :h |map.txt|. Use >
        :help mapmode-i
index 3f6e10adc29ed9dae3e1d689ce4aa98dbc69a1c2..98ea0a37bdbf60e514afec6d34b5553bd2467d33 100644 (file)
@@ -10202,7 +10202,7 @@ objects in place of `str()` ones avoiding possibility of UnicodeDecodeError.
 interfaces to some extent. Extent will be improved in the future.
 
 Added special |python-vars| objects also available for |python-buffer| and 
-|python-window|. They ease access to VimL variables from Python.
+|python-window|. They ease access to Vim script variables from Python.
 
 Now you no longer need to alter `sys.path` to import your module: special 
 hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and 
index 6de64c03e30958e459666cc2a59a58011ff6f22e..bcfb8cd1355986bfeb8c58c8e038d426db91ad90 100644 (file)
@@ -2213,7 +2213,7 @@ test_arglist \
        test_usercommands \
        test_utf8 \
        test_viminfo \
-       test_viml \
+       test_vimscript \
        test_visual \
        test_window_cmd \
        test_window_id \
index 725e540b95cc148812312871429a2565cd36c5e8..4fc9f743e80ebfd473544080b835f0eafb65203c 100644 (file)
@@ -950,7 +950,7 @@ eval_expr(char_u *arg, char_u **nextcmd)
 
 
 /*
- * Call some vimL function and return the result in "*rettv".
+ * Call some Vim script function and return the result in "*rettv".
  * Uses argv[argc] for the function arguments.  Only Number and String
  * arguments are currently supported.
  * Returns OK or FAIL.
@@ -1027,7 +1027,7 @@ call_vim_function(
 }
 
 /*
- * Call vimL function "func" and return the result as a number.
+ * Call Vim script function "func" and return the result as a number.
  * Returns -1 when calling the function fails.
  * Uses argv[argc] for the function arguments.
  */
@@ -1055,7 +1055,7 @@ call_func_retnr(
 
 # if (defined(FEAT_USR_CMDS) && defined(FEAT_CMDL_COMPL)) || defined(PROTO)
 /*
- * Call vimL function "func" and return the result as a string.
+ * Call Vim script function "func" and return the result as a string.
  * Returns NULL when calling the function fails.
  * Uses argv[argc] for the function arguments.
  */
@@ -1080,7 +1080,7 @@ call_func_retstr(
 # endif
 
 /*
- * Call vimL function "func" and return the result as a List.
+ * Call Vim script function "func" and return the result as a List.
  * Uses argv[argc] for the function arguments.
  * Returns NULL when there is something wrong.
  */
index c498e00a123f985fc9b0563b36adee7338ada303..3c40ff79aa66658d0cffea5082c00ca34893de61 100644 (file)
@@ -5140,8 +5140,8 @@ expand_shellcmd(
 static void * call_user_expand_func(void *(*user_expand_func)(char_u *, int, char_u **, int), expand_T *xp, int *num_file, char_u ***file);
 
 /*
- * Call "user_expand_func()" to invoke a user defined VimL function and return
- * the result (either a string or a List).
+ * Call "user_expand_func()" to invoke a user defined Vim script function and
+ * return the result (either a string or a List).
  */
     static void *
 call_user_expand_func(
index 4cd373402cd948d51cf36873873a71ae33e437ba..78c70e700bd387b0bbc616c47d7618900d62a6eb 100644 (file)
@@ -582,9 +582,9 @@ VimTryStart(void)
 VimTryEnd(void)
 {
     --trylevel;
-    /* Without this it stops processing all subsequent VimL commands and
-     * generates strange error messages if I e.g. try calling Test() in a
-     * cycle */
+    /* Without this it stops processing all subsequent Vim script commands and
+     * generates strange error messages if I e.g. try calling Test() in a cycle
+     */
     did_emsg = FALSE;
     /* Keyboard interrupt should be preferred over anything else */
     if (got_int)
@@ -625,7 +625,7 @@ VimTryEnd(void)
        discard_current_exception();
        return -1;
     }
-    /* Finally transform VimL exception to python one */
+    /* Finally transform Vim script exception to python one */
     else
     {
        PyErr_SetVim((char *)current_exception->value);
index d597154c98d8f994069a1bf9bc6311e297dffdbf..6ef23353e4ce9fe9754d92a5c9b8c0606e3c7104 100644 (file)
@@ -1449,8 +1449,8 @@ server_parse_message(
            char_u      *enc;
 
            /*
-            * This is a (n)otification.  Sent with serverreply_send in VimL.
-            * Execute any autocommand and save it for later retrieval
+            * This is a (n)otification.  Sent with serverreply_send in Vim
+            * script.  Execute any autocommand and save it for later retrieval
             */
            p += 2;
            gotWindow = 0;
index b0441f73959246cd011541894183f7ef32e54ea7..7e18b11dd358d253cbdb37bbd0c333762baddeda 100644 (file)
@@ -199,7 +199,7 @@ NEW_TESTS = test_arglist.res \
            test_undo.res \
            test_usercommands.res \
            test_viminfo.res \
-           test_viml.res \
+           test_vimscript.res \
            test_visual.res \
            test_window_id.res \
            test_writefile.res \
index 33490b61bb0933efbaee1a62a84981c00aa0341a..0c0a19790258c21655f676daa62c553c8dea63f5 100644 (file)
@@ -147,7 +147,7 @@ let s:fail = 0
 let s:errors = []
 let s:messages = []
 let s:skipped = []
-if expand('%') =~ 'test_viml.vim'
+if expand('%') =~ 'test_vimscript.vim'
   " this test has intentional s:errors, don't use try/catch.
   source %
 else
index e763c6f6778830ac4887d5121761097d04cef5b8..f50062e7b25ae7bb327bddfaf0f3296a41518138 100644 (file)
@@ -608,7 +608,7 @@ com! -nargs=1 -bar ExecAsScript call ExecAsScript(<f-args>)
 " END_OF_TEST_ENVIRONMENT - do not change or remove this line.
 
 
-" Tests 1 to 15 were moved to test_viml.vim
+" Tests 1 to 15 were moved to test_vimscript.vim
 let Xtest = 16
 
 "-------------------------------------------------------------------------------
index 3bd620485ec59a72eac8f194a1335b069d9fe9fb..a282a5f8594bc7a65a3dbe8ee0572e36e6de6385 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    360,
 /**/
     359,
 /**/