aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_api_dispatch.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-10 10:29:43 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-05-10 17:37:34 +0200
commit2d5920ae1ada751811e04bcc8d3a8fe4f890617a (patch)
tree294effe35254d53766dfe2358415f26e8dd61cb9 /src/nvim/generators/gen_api_dispatch.lua
parent3adcc0c50bd40e80928f1c96a908ce65def16fe9 (diff)
downloadrneovim-2d5920ae1ada751811e04bcc8d3a8fe4f890617a.tar.gz
rneovim-2d5920ae1ada751811e04bcc8d3a8fe4f890617a.tar.bz2
rneovim-2d5920ae1ada751811e04bcc8d3a8fe4f890617a.zip
api: always use prefix FUNC_API, also change NOEVAL to REMOTE_ONLY
Diffstat (limited to 'src/nvim/generators/gen_api_dispatch.lua')
-rw-r--r--src/nvim/generators/gen_api_dispatch.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua
index 7adefbfc15..b01321e713 100644
--- a/src/nvim/generators/gen_api_dispatch.lua
+++ b/src/nvim/generators/gen_api_dispatch.lua
@@ -105,7 +105,7 @@ for i,f in ipairs(shallowcopy(functions)) do
ismethod = true
end
else
- f.noeval = true
+ f.remote_only = true
f.since = 0
f.deprecated_since = 1
end
@@ -127,7 +127,7 @@ for i,f in ipairs(shallowcopy(functions)) do
newf.return_type = "Object"
end
newf.impl_name = f.name
- newf.noeval = true
+ newf.remote_only = true
newf.since = 0
newf.deprecated_since = 1
functions[#functions+1] = newf
@@ -432,7 +432,7 @@ local function process_function(fn)
end
for _, fn in ipairs(functions) do
- if not fn.noeval or fn.name:sub(1, 4) == '_vim' then
+ if not fn.remote_only or fn.name:sub(1, 4) == '_vim' then
process_function(fn)
end
end