Happy GregorianCalendar new year!
Features
-
Add many code actions for refactoring or fix.
Thanks to figsoda@github for implementations.-
"Convert to
inherit
" now supports multiple LHS or RHS.
{ a.b = b; }
=>{ a = { inherit b; }; }
{ a = b.a; }
=>{ inherit (b) a; }
-
Add unresolved names to top-level lambda parameters.
{ foo }: foo + bar
=>{ foo, bar }: foo + bar
-
Remove empty
inherit
s.
{ inherit; }
=>{ }
-
-
Names from
with
now have a special semantic token modifier
withAttribute
. One can add styles like underlines to them to distinguish
them from other static bindings.
There are examplesdev/nix-ide-semantic-highlighting.patch
for VSCode and
dev/vim-coc.nix
for (Neo)Vim/coc.nvim
.
Fixes
- Names of semantic highlighting are tweaked. Now we use
constant
and
builtin
for builtin constants (true
) and functions (map
).
The standarddefaultLibrary
group in themes usually represent names
from the "standard library", like rust-analyzer did, which is not the
same as "builtin" constants.