Hi Attached patch fixes typos and grammar mistakes in runtime/doc/vim9.txt.
Regards Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_gjMMCJNJ6c6k1LyPyh3MsTnfzToZnkbup2gV2HnS9h_Q%40mail.gmail.com.
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index fdbcefcd9..a1e081f04 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -176,8 +176,8 @@ However, it is recommended to always use "g:" to refer to a global function for clarity. In all cases the function must be defined before used. That is when it is -called, when `:defcompile` causes the it to be compiled, or when code that -calls it is being compiled (to figure out the return type). +called, when `:defcompile` causes it to be compiled, or when code that calls +it is being compiled (to figure out the return type). The result is that functions and variables without a namespace can usually be found in the script, either defined there or imported. Global functions and @@ -901,7 +901,7 @@ The script name after `import` can be: location of the script file itself. This is useful to split up a large plugin into several files. - An absolute path, starting with "/" on Unix or "D:/" on MS-Windows. This - will be rarely used. + will rarely be used. - A path not being relative or absolute. This will be found in the "import" subdirectories of 'runtimepath' entries. The name will usually be longer and unique, to avoid loading the wrong file. @@ -1169,7 +1169,7 @@ values are accepted: true: `true`, `v:true`, `1`, `0 < 9` false: `false`, `v:false`, `0`, `0 > 9` Note that the number zero is false and the number one is true. This is more -persmissive than most other languages. It was done because many builtin +permissive than most other languages. It was done because many builtin functions return these values. If you have any type of value and want to use it as a boolean, use the `!!`
