fortran-language-server icon indicating copy to clipboard operation
fortran-language-server copied to clipboard

Help need in using fortls in emacs

Open vickysharma0812 opened this issue 2 years ago • 3 comments

I am shifting to doom-emacs for writing the Fortran program. How can I setup Fortran language server on doom-emacs

Regards Vikas

vickysharma0812 avatar Oct 29 '21 16:10 vickysharma0812

As far as I know there is this client for emacs. You can specify more options directly to the fortran-language-server by using a .fortls file. I am afraid that is where my knowledge of emacs ends (I tend to use VSCode).

gnikit avatar Oct 29 '21 19:10 gnikit

I see, thank you for your reply. I will post my experience here once I get some success.

Regards Vikas

vickysharma0812 avatar Oct 30 '21 16:10 vickysharma0812

there are two lsp clients for emacs, eglot and lsp-mode, both should support it right away, eglot will auto-detect it and here are the lsp-mode instructions.

googling doom emacs eglot gave this here: https://rgoswami.me/posts/emacs-lang-servers/ don't know if up-to-date.

ssnnoo avatar Dec 04 '21 20:12 ssnnoo