]> git.eshelyaron.com Git - emacs.git/commitdiff
Use fortls also for fortran-mode
authorPhilipp Edelmann <edelmann@fs.tum.de>
Wed, 13 May 2020 17:50:12 +0000 (11:50 -0600)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 8 Jan 2022 17:12:22 +0000 (18:12 +0100)
* eglot.el (eglot-server-programs): Use fortls also for fortran-mode.

Copyright-paperwork-exempt: Yes

lisp/progmodes/eglot.el

index a25a143709d861b9e0040c6c2353e28ec3c685c7..2e9531cffb44092200a9fa6f9595c435205d0458 100644 (file)
@@ -173,7 +173,7 @@ language-server/bin/php-language-server.php"))
                                 (yaml-mode . ("yaml-language-server" "--stdio"))
                                 (nix-mode . ("rnix-lsp"))
                                 (gdscript-mode . ("localhost" 6008))
-                                (f90-mode . ("fortls"))
+                                ((fortran-mode f90-mode) . ("fortls"))
                                 (zig-mode . ("zls")))
   "How the command `eglot' guesses the server to start.
 An association list of (MAJOR-MODE . CONTACT) pairs.  MAJOR-MODE