Sean Dewar
b2a4c110a5
runtime(dist): Make dist/vim.vim work properly when lacking vim9script support ( #13487 )
...
`:return` cannot be used outside of `:function` (or `:def`) in older Vims
lacking Vim9script support or in Neovim, even when evaluation is being skipped
in the dead `:else` branch.
Instead, use the pattern described in `:h vim9-mix`, which uses `:finish` to end
script processing before it reaches the vim9script stuff.
Signed-off-by: Sean Dewar <seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-05 10:11:37 +01:00
..
2023-11-05 10:11:37 +01:00
2022-07-02 17:58:23 +01:00
2023-10-16 09:53:37 +02:00
2023-09-12 20:23:38 +02:00
2023-11-04 10:03:52 +01:00
2023-11-04 10:11:17 +01:00
2023-03-10 18:37:11 +00:00
2023-10-16 09:53:37 +02:00
2023-10-16 09:53:37 +02:00
2023-09-05 07:36:07 +02:00
2023-10-16 09:53:37 +02:00
2023-10-16 09:53:37 +02:00
2023-10-21 11:06:50 +02:00
2022-07-01 18:45:04 +01:00
2023-11-04 09:41:37 +01:00
2022-10-05 18:03:00 +01:00
2023-09-24 22:54:30 +02:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2004-06-13 20:20:40 +00:00
2023-08-13 10:33:05 +02:00
2023-10-26 23:03:15 +02:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2022-06-25 18:01:32 +01:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2023-08-13 10:33:05 +02:00
2006-05-03 21:26:49 +00:00
2004-06-13 20:20:40 +00:00
2023-10-16 09:53:37 +02:00
2023-08-23 17:07:55 +01:00
2023-08-13 10:33:05 +02:00
2023-08-31 08:18:40 +02:00
2023-08-27 19:47:29 +02:00
2023-10-16 09:53:37 +02:00
2023-08-13 10:33:05 +02:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2022-06-25 18:01:32 +01:00
2004-06-13 14:44:53 +00:00
2023-08-13 10:33:05 +02:00