Ben White-Horne

Results 33 comments of Ben White-Horne

Aha yes I've seen this and it looks really awesome! I should install it and try it out, actually.... Something like this would, I think, make a good plugin (a...

> How can I add `:` as valid key? I couldn't find a variant inside `Key` for colon. I think it's `Key::Char(':')` > How can we use the `mut` reference...

Ah yes, apparently you have to put it in the _implementation_, not the trait - it seems that `mut` arguments aren't allowed it traits...

Cool :grin:. To be honest, the current code is incredibly janky and hard to understand - I was doing some unrelated work on Sapling last night and realised a way...

Ok maybe not _every_ function :sweat_smile: - I think I was having some trouble debugging something when I made this issue. To be honest, the point of this is more...

Hmm so I'm tempted not to attempt to implement this ourselves - LSP support is a must for any editor to be nice to use, and every self-respecting LSP server...

Very well written blog post! Reading it was a pretty odd experience - it was like reading my thoughts described really succinctly :sweat_smile:. I've starred the linked repo too.

Yep I'd like to see this too :smiley:. I was thinking that you could have `w` for 'wrap' and `W` for 'wrap individually', so you could e.g. turn `{, }`...

> Sooner or later we need to figure out how to do string editing - e.g. `"foo"` in Json or `` in XML. > I only have a rough idea...

> One more observation: when e.g. replacing XML tag `foo` with `bar` the string may be in an intermediate state when it's empty - invalid as far as XML is...