Mercurial > vim
annotate runtime/doc/doctags.vim @ 23531:f39a18a42aed v8.2.2308
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
Commit: https://github.com/vim/vim/commit/328eac2b5d1569c57e1130ecb9f7cca733b84d78
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 7 19:23:08 2021 +0100
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
Problem: Vim9: no error when assigning lambda to funcref without return
value.
Solution: Default return value to "any". (closes #7629)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Jan 2021 19:30:06 +0100 |
parents | 27ff44268da5 |
children |
rev | line source |
---|---|
18487
5b95ccb82c0a
patch 8.1.2238: error in docs tags goes unnoticed
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 " This script makes a tags file for help text. |
5b95ccb82c0a
patch 8.1.2238: error in docs tags goes unnoticed
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 " |
5b95ccb82c0a
patch 8.1.2238: error in docs tags goes unnoticed
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 " Usage: vim -eX -u doctags.vim |
5b95ccb82c0a
patch 8.1.2238: error in docs tags goes unnoticed
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 |
19161
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
5 try |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
6 helptags ++t . |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
7 echo 'help tags updated' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
8 catch |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
9 echo v:exception |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
10 echo 'help tags failed update' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
11 endtry |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
18487
diff
changeset
|
12 echo '' |
18487
5b95ccb82c0a
patch 8.1.2238: error in docs tags goes unnoticed
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 qa! |