oxalica / nil

NIx Language server, an incremental analysis assistant for writing in Nix.
Apache License 2.0
1.28k stars 39 forks source link

`__curPos` is not highlighted #132

Open aciceri opened 4 months ago

aciceri commented 4 months ago

Notice that it's not a builtin but a keyword, I don't know where it should be added in the nil codebase. Also notice that probably there could be other keywords, it would be nice having a test or something that runs nix eval --expr "builtins.attrNames builtins" --json to check if we are considering all the builtins (if something similar isn't already done). I don't know if a similar introspection is possible also for keywords.