LnL7 / vim-nix

Vim configuration files for Nix http://nixos.org/nix
MIT License
288 stars 26 forks source link

nixInheritAttributeScope can contain an arbitrary Nix expression #40

Closed Ma27 closed 2 years ago

Ma27 commented 3 years ago

Is perfectly fine to do something like

{ inherit (import <nixpkgs> { }) hello; }

This patch ensures that such an expression is properly highlighted.

Ma27 commented 3 years ago

cc @Lnl7 anything missing to get this merged? :)

Ma27 commented 3 years ago

ping @Lnl7 :)

Ma27 commented 2 years ago

cc @lnl7 :)