Wilfred Hughes

Results 601 comments of Wilfred Hughes

I can't highlight the `.` if it's not in the AST, so I end up with weird diffs. I have a workaround in place that flattens the parent AST node,...

I don't know of any way to display this from the tree-sitter CLI I'm afraid. The output above is dumped from difftastic with `difft --dump-ts foo.hs`.

@tek that looks great to me! :)

I've been bitten by this too. This affects both the match bodies and the match patterns. The following code is unmodified by rustfmt, and no warnings are produced: ``` fn...

Thanks, this is good feedback. We should have some introductory blurb on docs.hhvm.com. (FWIW Hack runs on HHVM, which is a highly optimised JIT written in C++. It doesn't use...

It looks like the PHP file treats the whole file as a single text item, so difftastic is treating it as a multiline string. Currently multiline strings are highlighted entirely,...

Sooner or later I'll need to add support for .gitattributes I think, it's been mentioned a couple of times in other issues. Having a way for `--override` to force "binary"...

My current repro looks like this: (1) Open `myproj/main.rs`, `./buck-out/generated/mod.rs`, and the `foo.thrift` file that `mod.rs` is generated from. (2) Add a new field to a struct in `foo.thrift` and...

Sorry, I didn't have a great repro when I first wrote this issue. I was thinking of a rust-project per-crate setting that just made rust-analyzer aggressively poll or use inotify...

Some additional debugging notes: The server file watching mode requires your file to belong to the current workspace, i.e. `is_workspace_member: true` in JSON. Adding debug logging to the inotify logic,...