Closed kreeger closed 10 years ago
This should do it: https://github.com/travisjeffery/ClangFormat-Xcode/issues/5#ref-commit-e5ee9ff
Thanks for including the log.
If there was an emoji for shaking my head in a double-take, I'd use it. Thanks for the quick turnaround!
I've had a second crash now using this plugin when I've had all the text in my current file selected (⌘A) and I've saved my Objective-C implementation file (⌘S). It doesn't happen every time, but it definitely happens sometimes. And I'm using Format on Save, with a custom local format file. I'll post more information here as I get it.
Here's the relevant bit from the top of my crash log. I think I can see roughly where in the backtrace it's happening.
Here's my
.clang-format
file for reference.