mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
API: Context: save/restore
This commit is contained in:

committed by
Justin M. Keyes

parent
691deca2e8
commit
b6278bbf12
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user