Wilfred Hughes

Results 601 comments of Wilfred Hughes

This looks like an upstream parser issue: https://github.com/fwcd/tree-sitter-kotlin/issues/60

Difftastic has a very simple parse tree representation: it deals with lists and atoms. If two parse trees are different, it should definitely report that as changes. The Python issue...

The YAML parser is producing an error when parsing this file: ``` $ difft --dump-ts rules1.yaml| head ERROR (0, 0) - (2838, 21) comment (0, 0) - (0, 1) "#"...

I can't actually see anything wrong with this file, so I suspect it's the YAML truncation that makes the parser think there's a parse error.

@jrmuizel yep, and #472 does that :)

You're right, that'd be a little confusing. How about we add a `turn-off-smartparens-strict-mode` function? If users want both switched off, they can call both functions (it'd suit me at least)....

Yep, exactly, I'd like it for hooks. I suppose I could call `(smartparens-strict-mode -1)` but we could say the same thing about `turn-off-smartparens-mode`. I like how explicit `turn-off-smartparens-strict-mode` is.

Hm, is it that complicated? Are there any situations where I'd want `smartparens-strict-mode` but not `smartparens-mode`? I thought strict mode was just SP with a few extensions. I can't see...

Agreed, there's no way of doing this currently and it would be nice.

FWIW, I explicitly fixed the whitespace issue, but only for Python, in #561. I don't think it's worth doing in general though -- for non-lisps the hybrid-sexp commands are better.