aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/fortitude.lua
blob: 5773949db62a9a3b0ffebeb237ed0ba6fe5b1352 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---@brief
---
--- 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.

---@type vim.lsp.Config
return {
  cmd = { 'fortitude', 'server' },
  filetypes = { 'fortran' },
  root_markers = {
    'fpm.toml',
    'fortitude.toml',
    '.fortitude.toml',
    '.git',
  },
  settings = {},
}