]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(vim): accept dot in completionList for Vim9 syntax (#13832)
authorMaxim Kim <habamax@gmail.com>
Mon, 8 Jan 2024 18:42:02 +0000 (05:42 +1100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 18:42:02 +0000 (19:42 +0100)
commitceed36873e922df9acfeabf65184fcf2b5ab1cb3
tree80ec9379af2da7d4981d1961f7e010f9323bfe9d
parent124371c5a149a8c0c75c04b6c90ac11e71a0aa97
runtime(vim): accept dot in completionList for Vim9 syntax (#13832)

if you have autoloaded command complete function in vim9script, it shouldn't be highlighted as Error:

```
import autoload "share.vim"
command! -range=% -nargs=? -complete=custom,share.Complete Share share.Paste(<q-args>, <line1>, <line2>)
```

`share.Complete` is a valid complete function.

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/vim.vim