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?

((js-mode . ((add-to-list 'eglot-server-programs '(js-mode . ("flow" "lsp")))))) 
submitted by /u/saarin
[link] [comments]