Raoul Wols

Results 283 comments of Raoul Wols

Furthermore, the `syntax` field of the `view` in a plugin is `None`: ```python import sublime_plugin import sublime class CreateScratchViewCommand(sublime_plugin.WindowCommand): def run(self) -> None: v = self.window.new_file(syntax="scope:source.json") v.run_command("append", {"characters": '{"hello": "world"}\n'})...

And the "syntax" key of `settings()` returns a bugged path ``` >>> view.settings().get("syntax") 'scope:source.json' ```

I like this proposal a lot; it mirrors the options for brace placement styles in clang-format.