I use vanilla Emacs and when I turn on the evil-mode, the .dir-locals.el cannot properly set buffer-local variables in the directory.
This is the minimum configuration to reproduce the bug:
By C-h v, the variables ssh-deploy-root-local, ssh-deploy-root-remote, etc. are nil.
This is an upstream bug. I found a similar issue here https://github.com/hlissner/doom-emacs/issues/2493. This is a workaround for the issue.
I use vanilla Emacs and when I turn on the evil-mode, the
.dir-locals.el
cannot properly set buffer-local variables in the directory. This is the minimum configuration to reproduce the bug:This is my
.dir-locals.el
By C-h v, the variables ssh-deploy-root-local, ssh-deploy-root-remote, etc. are
nil
. This is an upstream bug. I found a similar issue here https://github.com/hlissner/doom-emacs/issues/2493. This is a workaround for the issue.Maybe add a hint in the
README.md
will help some evil guys(like me) get rid of several hours of searching and asking.