New answers tagged

0

Is there any reason you can't simply do the regexp yourself in a .dir-locals assignment? eg just pasted from another exercise the assignment of fname could be based on a regexp matching the buffer-file-name ((nil . ((eval . (progn (setq boilerplate (with-temp-buffer (insert-file-contents "....


1

The custom variables defined by major and minor modes are all available for setting within dir-locals. You could set lsp-purescript-use-npx to nil like so: ((purescript-mode (lsp-purescript-use-npx))) Line 1 ((...


4

As @phils suggested you should be able to run M-x add-dir-local-variable. You will be prompted for a mode, and you could type/select lsp-mode (I am guessing that is the mode name). Then, you will be prompted for a variable, and you could type/select lsp-purescript-use-npx. Finally, you should be prompted for the value. Depending on your setup, you may or may ...


Top 50 recent answers are included