Skip to content

Commit 46b2402

Browse files
committed
mention eglot for emacs support
1 parent c3e8694 commit 46b2402

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/editor_integration.rst

+13
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,26 @@ to set ``fortls`` for Fortran files
159159
`EMACS <https://www.gnu.org/software/emacs/>`__
160160
-----------------------------------------------
161161

162+
`LSP Mode <https://emacs-lsp.github.io/lsp-mode>`__
163+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
164+
162165
Install the `lsp-mode`_ plugin. This should then allow for the variables
163166
`lsp-clients-fortls-args`_ and `lsp-clients-fortls-executable`_ to be defined in the ``~/.emacs`` configuration file.
164167

165168
.. _lsp-mode: https://emacs-lsp.github.io/lsp-mode/page/installation
166169
.. _lsp-clients-fortls-args: https://emacs-lsp.github.io/lsp-mode/page/lsp-fortran/#lsp-clients-fortls-args
167170
.. _lsp-clients-fortls-executable: https://emacs-lsp.github.io/lsp-mode/page/lsp-fortran/#lsp-clients-fortls-executable
168171

172+
173+
`Eglot <https://github.com/joaotavora/eglot>`__
174+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
175+
176+
Install the `eglot`_ package which supports fortls out of the box.
177+
This can be done in emacs version > 26.1 via ``M-x package-install RET eglot RET``.
178+
179+
.. _eglot: https://github.com/joaotavora/eglot
180+
181+
169182
Visual Studio 2017
170183
------------------
171184

0 commit comments

Comments
 (0)