mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
fix(eval): v:lua support for -
in module names
This commit is contained in:
@@ -8956,7 +8956,7 @@ static bool tv_is_luafunc(typval_T *tv)
|
||||
const char *skip_luafunc_name(const char *p)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
while (ASCII_ISALNUM(*p) || *p == '_' || *p == '.' || *p == '\'') {
|
||||
while (ASCII_ISALNUM(*p) || *p == '_' || *p == '-' || *p == '.' || *p == '\'') {
|
||||
p++;
|
||||
}
|
||||
return p;
|
||||
|
Reference in New Issue
Block a user