zc he

Results 139 comments of zc he

I noticed this issue the other day, my plan is 1. create new rules for ...() ...[] ...{} ...$, correct me if something's missing. 2. Then add those rules to...

Maybe I should create a new issue for all the problems that I found so far, so that someone may come and fix it before me.

> I'd take a look at this. I also observed a problem with an alias: > > ![image](https://private-user-images.githubusercontent.com/1636639/370233502-82e3c90d-80fc-4707-b4c7-90ecd1e11c55.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzE4MjMwMDksIm5iZiI6MTczMTgyMjcwOSwicGF0aCI6Ii8xNjM2NjM5LzM3MDIzMzUwMi04MmUzYzkwZC04MGZjLTQ3MDctYjRjNy05MGVjZDFlMTFjNTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTExNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDExMTdUMDU1MTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDEyMWQ2NjNkYjM4ODVhYzk1NWI1OWJhYjU4OTRjOGVlYzE0MjlhZDM5OGFmYmYzOTQ5ZjRmMWZlMjdhZWJkNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.VD0ogWAjNjjpDSVm8rqXElZUBEa6Og3PFumRIue6oHo) > > They all work correctly, even without the quotes, but tree-sitter-nu...

I take the example in the caveat section as a bug fix 🫠 Maybe even `$val.foo` should return `[A, null]`? Update: there're some problems in the cell_path completion for lists...

> seems like a reasonable request. i also wish the coloring was maybe just the reverse of whatever the text is. it's so hard to see, but that's a separate...

Probably the same issue, #3966

@clason Could you please explain why the `bug` tag was removed? Is there some grammar writing principles that we can follow to avoid this kind of issues?

I won't call it a benchmark, but here's a simple demo: ```nushell mut ans = {} for i in ..100 {$ans = $ans | merge {$i: a}} let a =...

That doesn't help for smaller column numbers for sure. O(RC^2) -> O(RClogC).

> I wanted to make sure we don't dramatically regress due to the in practice longer time it takes to set up a HashSet and the small constant overhead compared...