1 line
718 B
Plaintext
1 line
718 B
Plaintext
<!-- SC_OFF --><div class="md"><p>I want to set eglot to use flow instead of js-ts server for my project (because currently eglot doesn't support flow lang). Is there some way to define this in .dir-locals.el?</p> <pre><code>((js-mode . ((add-to-list 'eglot-server-programs '(js-mode . ("flow" "lsp")))))) </code></pre> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/saarin"> /u/saarin </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r9ds67/project_specific_eglot_config_flow_lang/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/r9ds67/project_specific_eglot_config_flow_lang/">[comments]</a></span> |