diff options
| -rw-r--r-- | doc/configs.md | 44 | ||||
| -rw-r--r-- | doc/configs.txt | 32 |
2 files changed, 76 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index c5e9bdb6..238fe628 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -110,6 +110,7 @@ Nvim by running `:help lspconfig-all`. - [flow](#flow) - [flux_lsp](#flux_lsp) - [foam_ls](#foam_ls) +- [fortitude](#fortitude) - [fortls](#fortls) - [fsautocomplete](#fsautocomplete) - [fsharp_language_server](#fsharp_language_server) @@ -4398,6 +4399,49 @@ Default config: --- +## fortitude + +https://fortitude.readthedocs.io/en/stable/ + +Fortitude is a Fortran linter built in Rust and inspired by (and build upon) Ruff + +```sh +# Install With uv: +uv tool install fortitude-lint@latest + +# Install with pip: +pip install fortitude-lint +``` + +**LSP is available in Fortitude `v0.8.0`.** + +Refer to the [documentation](https://fortitude.readthedocs.io/en/stable/editors/) for more details. + +Snippet to enable the language server: +```lua +vim.lsp.enable('fortitude') +``` + +Default config: +- `cmd` : + ```lua + { "fortitude", "server" } + ``` +- `filetypes` : + ```lua + { "fortran" } + ``` +- `root_markers` : + ```lua + { "fpm.toml", "fortitude.toml", ".fortitude.toml", ".git" } + ``` +- `settings` : + ```lua + {} + ``` + +--- + ## fortls https://fortls.fortran-lang.org/index.html diff --git a/doc/configs.txt b/doc/configs.txt index b7efc2c2..b1b7b65a 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -3094,6 +3094,38 @@ Default config: < ------------------------------------------------------------------------------ +fortitude + +https://fortitude.readthedocs.io/en/stable/ + +Fortitude is a Fortran linter built in Rust and inspired by (and build upon) Ruff +>sh + # Install With uv: + uv tool install fortitude-lint@latest + + # Install with pip: + pip install fortitude-lint + +**LSP is available in Fortitude `v0.8.0`.** + +Refer to the [documentation](https://fortitude.readthedocs.io/en/stable/editors/) for more details. + +Snippet to enable the language server: >lua + vim.lsp.enable('fortitude') + + +Default config: +- cmd: >lua + { "fortitude", "server" } +- filetypes: >lua + { "fortran" } +- root_markers: >lua + { "fpm.toml", "fortitude.toml", ".fortitude.toml", ".git" } +- settings: >lua + {} +< + +------------------------------------------------------------------------------ fortls https://fortls.fortran-lang.org/index.html |
