I wanted to have wc-mode (a minor mode) enabled when I edit any markdown file in a specific directory. So, I created a
.dir-locals.el file and added the following to it:
((markdown . ((wc-mode . t))))
But when I open a markdown file, it still does not have wc-mode enabled.
What am I doing wrong? How do I set it right?