Skip to content

Commit 0cde3c4

Browse files
authored
feat: fortitude #4313
1 parent 6bc98e3 commit 0cde3c4

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

lsp/fortitude.lua

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---@brief
2+
---
3+
--- https://fortitude.readthedocs.io/en/stable/
4+
---
5+
--- Fortitude is a Fortran linter built in Rust and inspired by (and build upon) Ruff
6+
---
7+
--- ```sh
8+
--- # Install With uv:
9+
--- uv tool install fortitude-lint@latest
10+
---
11+
--- # Install with pip:
12+
--- pip install fortitude-lint
13+
--- ```
14+
---
15+
--- **LSP is available in Fortitude `v0.8.0`.**
16+
---
17+
--- Refer to the [documentation](https://fortitude.readthedocs.io/en/stable/editors/) for more details.
18+
19+
---@type vim.lsp.Config
20+
return {
21+
cmd = { 'fortitude', 'server' },
22+
filetypes = { 'fortran' },
23+
root_markers = {
24+
'fpm.toml',
25+
'fortitude.toml',
26+
'.fortitude.toml',
27+
'.git',
28+
},
29+
settings = {},
30+
}

0 commit comments

Comments
 (0)