Hey all, I made a highlighter for Sublime Text, which uses the TextMate format. Atom also seems to use it, as does github.
Trying to get it in github via https://github.com/NixOS/nixpkgs/issues/5109 and as a Sublime Text package named Nix <https://github.com/wbond/package_control_channel/pull/3866>. The highlighter is pedantic; if something doesn't match Nix grammar it will mark it illegal. Unfortunately it cannot implement the real Nix language because the regex-based highlighter is not a real parser with proper states. It seems to render nixpkgs ok though as well as the tests directory in the Nix source. Please try it out and let me know if something doesn't render right for you, or if things should be marked differently. Source at https://github.com/wmertens/sublime-nix. Comments and ways to incorporate in other editors welcome. Cheers, Wout.
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
