diff options
| author | github-actions <github-actions@github.com> | 2022-05-15 21:09:18 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2022-05-15 21:09:18 +0000 |
| commit | 0f06f7ba286efd4ae187abd3391f1574580ff929 (patch) | |
| tree | 1128c502fe76892f1d2f38cf5aff5525bcccabdd | |
| parent | fix(fortls): update server and default cmd args (#1904) (diff) | |
| download | nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar.gz nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar.bz2 nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar.lz nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar.xz nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.tar.zst nvim-lspconfig-0f06f7ba286efd4ae187abd3391f1574580ff929.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 18 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 18 |
2 files changed, 24 insertions, 12 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 0c384185..9a4729e1 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -1840,9 +1840,17 @@ require'lspconfig'.foam_ls.setup{} ## fortls -https://github.com/hansec/fortran-language-server +https://github.com/gnikit/fortls -Fortran Language Server for the Language Server Protocol +fortls is a Fortran Language Server, the server can be installed via pip + +```sh +pip install fortls +``` + +Settings to the server can be passed either through the `cmd` option or through +a local configuration file e.g. `.fortls`. For more information +see the `fortls` [documentation](https://gnikit.github.io/fortls/options.html). @@ -1855,7 +1863,7 @@ require'lspconfig'.fortls.setup{} **Default values:** - `cmd` : ```lua - { "fortls" } + { "fortls", "--notify_init", "--hover_signature", "--hover_language=fortran", "--use_signature_help" } ``` - `filetypes` : ```lua @@ -1867,9 +1875,7 @@ require'lspconfig'.fortls.setup{} ``` - `settings` : ```lua - { - nthreads = 1 - } + {} ``` diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 0c384185..9a4729e1 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -1840,9 +1840,17 @@ require'lspconfig'.foam_ls.setup{} ## fortls -https://github.com/hansec/fortran-language-server +https://github.com/gnikit/fortls -Fortran Language Server for the Language Server Protocol +fortls is a Fortran Language Server, the server can be installed via pip + +```sh +pip install fortls +``` + +Settings to the server can be passed either through the `cmd` option or through +a local configuration file e.g. `.fortls`. For more information +see the `fortls` [documentation](https://gnikit.github.io/fortls/options.html). @@ -1855,7 +1863,7 @@ require'lspconfig'.fortls.setup{} **Default values:** - `cmd` : ```lua - { "fortls" } + { "fortls", "--notify_init", "--hover_signature", "--hover_language=fortran", "--use_signature_help" } ``` - `filetypes` : ```lua @@ -1867,9 +1875,7 @@ require'lspconfig'.fortls.setup{} ``` - `settings` : ```lua - { - nthreads = 1 - } + {} ``` |
