API: Context: save/restore

This commit is contained in:
Abdelhakeem
2019-07-21 21:41:04 +02:00
committed by Justin M. Keyes
parent 691deca2e8
commit b6278bbf12
8 changed files with 218 additions and 28 deletions

View File

@@ -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;
}
}
}