For my plugin, I've created a config file. In my plugin, I have the following line:
DEFAULT_TODO_PATH = os.path.expanduser(os.path.join('~', '.todomanager'))
This sets a default path and in the default config I want to have:
When I load the settings, I want to be able to do this:
settings = sublime.load_settings('TodoManager.sublime-settings')
todo_path = settings.get('todo_path', DEFAULT_TODO_PATH)
But no matter what, I always get None. Of course I can do a check here and manually set it, but it would be nice if the settings API detected this and used the default.