+3
-1
lines changedFilter options
+3
-1
lines changed Original file line number Diff line number Diff line change
@@ -8956,7 +8956,7 @@ static bool tv_is_luafunc(typval_T *tv)
8956
8956
const char *skip_luafunc_name(const char *p)
8957
8957
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
8958
8958
{
8959
-
while (ASCII_ISALNUM(*p) || *p == '_' || *p == '.' || *p == '\'') {
8959
+
while (ASCII_ISALNUM(*p) || *p == '_' || *p == '-' || *p == '.' || *p == '\'') {
8960
8960
p++;
8961
8961
}
8962
8962
return p;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
+
return {doit=function() return 9004 end}
Original file line number Diff line number Diff line change
@@ -532,6 +532,7 @@ describe('v:lua', function()
532
532
command('set pp+=test/functional/fixtures')
533
533
eq('\tbadval', eval("v:lua.require'leftpad'('badval')"))
534
534
eq(9003, eval("v:lua.require'bar'.doit()"))
535
+
eq(9004, eval("v:lua.require'baz-quux'.doit()"))
535
536
end)
536
537
537
538
it('throw errors for invalid use', function()
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4