diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-05 21:38:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-05 21:38:23 +0200 |
commit | 4c68375057c25e99656bc996d3fa5c6b0b6a7e6a (patch) | |
tree | 2be5b8f84ba889bab8caf91898092eaaba96216c /src/viminfo.c | |
parent | f87a0400fd81862c33d6ad2291a56e178db7dddd (diff) | |
download | vim-git-4c68375057c25e99656bc996d3fa5c6b0b6a7e6a.tar.gz |
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"v8.2.0517
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
Diffstat (limited to 'src/viminfo.c')
-rw-r--r-- | src/viminfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/viminfo.c b/src/viminfo.c index c1339f08c..b014d7f21 100644 --- a/src/viminfo.c +++ b/src/viminfo.c @@ -1344,6 +1344,7 @@ write_viminfo_varlist(FILE *fp) case VAR_SPECIAL: s = "XPL"; break; case VAR_UNKNOWN: + case VAR_ANY: case VAR_VOID: case VAR_FUNC: case VAR_PARTIAL: |