view src/testdir/sautest/autoload/auto9.vim @ 27474:307341b9c227 v8.2.4265

patch 8.2.4265: autoload tests fails Commit: https://github.com/vim/vim/commit/6a058070924928f1b2bdb11f345229074904d8bd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 18:56:35 2022 +0000 patch 8.2.4265: autoload tests fails Problem: Autoload tests fails. Solution: Use export instead of name with #.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 20:00:04 +0100
parents b0b57d91671c
children
line wrap: on
line source

vim9script

export func Getsome()
  return 'some'
endfunc

export def Add42(count: number): number
  return count + 42
enddef