This repository is going to be archived on Jan 31, 2020 because I have not been using Emacs for a long time now. If you wish to maintain this project. Please leave a comment here
This package contains a major mode
for Yarn-generated yarn.lock
files.
M-x package-install RET yarn-mode RET
That should do it. If it doesn't highlight the files, try adding
(require 'yarn-mode)
in your init.el
file.
Copy yarn-mode.el
to your load path and then:
(require 'yarn-mode)
Yes. It's that simple.
- Font locking in the buffer
- Automatic read-only when reading the buffer
If you'd like to manage Yarn through emacs, you might want to check yarn.el also.
This package was heavily influenced by