mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Added a TODO note about YAML modeline for editors
This commit is contained in:
parent
bcaea74352
commit
4c3512a45c
@ -119,6 +119,9 @@ class Config(object):
|
|||||||
and value is not None):
|
and value is not None):
|
||||||
config[key] = value
|
config[key] = value
|
||||||
with open(config_args.config_path, "w") as config_file:
|
with open(config_args.config_path, "w") as config_file:
|
||||||
|
# TODO(paul) it would be lovely if we wrote out vim- and emacs-
|
||||||
|
# style mode markers into the file, to hint to people that
|
||||||
|
# this is a YAML file.
|
||||||
yaml.dump(config, config_file, default_flow_style=False)
|
yaml.dump(config, config_file, default_flow_style=False)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user