I'm facing a strange bug with syntax highlighting, it works well (not awesome but well) with nix files, but it fallbacks to the default one (the one with only strings, true/false and int) in every flake.nix file (a standard entry point for nix).
I did a bit of research and I found out that this only happen when there is a flake.lock file in the same directory (it's always the case, with nix).
After removing the flake.lock file, in order to have syntax highlight back in the flake.nix file, I have to cut out the content of flake.nix, close micro, reopen micro and paste everithing back.
Commit hash: v2.0.12
OS: NixOS
Terminal: kitty