syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.68k stars 4.89k forks source link

dir-locals.el not being read/used when opening a file using helm-projectile #14558

Closed synic closed 1 year ago

synic commented 3 years ago

Description :octocat:

.dir-locals.el file not being read when opening a file using helm-projectile. Works fine if I open the file from dired.

Reproduction guide :beetle:

  1. Add this file to .dir-locals.el in a git directory:
((python-mode . (
      (pyvenv-activate . "/home/synic/.virtualenvs/neuro")
      (flycheck--automatically-enabled-checkers . (python-mypy python-flake8))
      (flycheck-python-mypy-config . "/home/synic/Projects/neuro/.mypy.ini")
      (flycheck-flake8rc . "/home/synic/Projects/neuro/.flake8")
)))
  1. Open one of the project files using projectile

Observed behaviour: :eyes: :broken_heart: .dir-locals.el file is ignored

Expected behaviour: :heart: :smile: For the settings in the file to be applied

System Info :computer:

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

tshu-w commented 2 years ago

Can not reproduce with

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!