diff options
author | Abdelhakeem <abdelhakeem.osama@hotmail.com> | 2019-07-21 21:41:04 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-27 22:14:58 +0200 |
commit | b6278bbf12dd4946095b76f47b7c2ace3f929245 (patch) | |
tree | 37d30921c145e9266535441b7e51959ddbc7b8b2 /src/nvim/api/vim.c | |
parent | 691deca2e8449ec0c3b5081ed4fe6076fd820913 (diff) | |
download | rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.tar.gz rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.tar.bz2 rneovim-b6278bbf12dd4946095b76f47b7c2ace3f929245.zip |
API: Context: save/restore
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 3fd50ffaf8..ed6a28bcda 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1293,6 +1293,10 @@ Dictionary nvim_get_context(Array types) int_types |= kCtxBuflist; } else if (strequal(current, "gvars")) { int_types |= kCtxGVars; + } else if (strequal(current, "sfuncs")) { + int_types |= kCtxSFuncs; + } else if (strequal(current, "funcs")) { + int_types |= kCtxFuncs; } } } |