Closed ooesili closed 2 years ago
Nix flakes use lock files named flake.lock, which vim currently interprets as a plain text file. This commit adds an auto command that sets the filetype of files named flake.lock to json.
flake.lock
filetype
json
Nix flakes use lock files named
flake.lock
, which vim currently interprets as a plain text file. This commit adds an auto command that sets thefiletype
of files namedflake.lock
tojson
.