Extract workspace names from bindings before reordering.

fixes #1889
This commit is contained in:
Michael Stapelberg
2015-09-14 09:28:42 +02:00
parent e10b88fb81
commit 840ce51bfd
4 changed files with 74 additions and 19 deletions

View File

@ -996,6 +996,7 @@ bool parse_file(const char *f, bool use_nagbar) {
struct ConfigResultIR *config_output = parse_config(new, context);
yajl_gen_free(config_output->json_gen);
extract_workspace_names_from_bindings();
check_for_duplicate_bindings(context);
reorder_bindings();