aboutsummaryrefslogtreecommitdiff
path: root/scripts/genvimvim.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-07-19 14:03:36 -0400
committerGitHub <noreply@github.com>2016-07-19 14:03:36 -0400
commit0595da8d0b9bc9f4ea6f06047d3b25926d72156b (patch)
tree0d6962c3c80af3ff19cf70f928d424421fe567a1 /scripts/genvimvim.lua
parent291c3c6ff3eadd26e364787600fd4606cb5b1f40 (diff)
parent90d1ad39750d573750f6af79402cba390a30224d (diff)
downloadrneovim-0595da8d0b9bc9f4ea6f06047d3b25926d72156b.tar.gz
rneovim-0595da8d0b9bc9f4ea6f06047d3b25926d72156b.tar.bz2
rneovim-0595da8d0b9bc9f4ea6f06047d3b25926d72156b.zip
Merge #5062 from blueyed/fix-genvimvim-funcnames
genvimvim.lua: fix matching functions
Diffstat (limited to 'scripts/genvimvim.lua')
-rw-r--r--scripts/genvimvim.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genvimvim.lua b/scripts/genvimvim.lua
index 9135c8e3ab..2a82181841 100644
--- a/scripts/genvimvim.lua
+++ b/scripts/genvimvim.lua
@@ -123,7 +123,7 @@ for line in eval_fd:lines() do
if line == '};' then
break
end
- local func_name = line:match('^ {"(%w+)",')
+ local func_name = line:match('^ { "([%w_]+)",')
if func_name then
if lld.line_length > 850 then
w('\n' .. vimfun_start)