Skip to content

Commit 6b63bdf

Browse files
docs: update configs.md
skip-checks: true
1 parent 1ae2d18 commit 6b63bdf

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

doc/configs.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Nvim by running `:help lspconfig-all`.
88
- [ada_ls](#ada_ls)
99
- [agda_ls](#agda_ls)
1010
- [aiken](#aiken)
11+
- [air](#air)
1112
- [alloy_ls](#alloy_ls)
1213
- [anakin_language_server](#anakin_language_server)
1314
- [angularls](#angularls)
@@ -446,6 +447,35 @@ Default config:
446447
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/aiken.lua:4](../lua/lspconfig/configs/aiken.lua#L4)
447448

448449

450+
## air
451+
452+
https://github.com/posit-dev/air
453+
454+
Air is an R formatter and language server, written in Rust.
455+
456+
Refer to the [documentation](https://posit-dev.github.io/air/editors.html) for more details.
457+
458+
Snippet to enable the language server:
459+
```lua
460+
require'lspconfig'.air.setup{}
461+
```
462+
463+
Default config:
464+
- `cmd` :
465+
```lua
466+
{ "air", "language-server" }
467+
```
468+
- `filetypes` :
469+
```lua
470+
{ "r" }
471+
```
472+
- `root_dir` :
473+
```lua
474+
"/home/runner/work/nvim-lspconfig/nvim-lspconfig"
475+
```
476+
- `single_file_support` : `true`
477+
478+
449479
## alloy_ls
450480

451481
https://github.com/AlloyTools/org.alloytools.alloy

doc/configs.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Nvim by running `:help lspconfig-all`.
88
- [ada_ls](#ada_ls)
99
- [agda_ls](#agda_ls)
1010
- [aiken](#aiken)
11+
- [air](#air)
1112
- [alloy_ls](#alloy_ls)
1213
- [anakin_language_server](#anakin_language_server)
1314
- [angularls](#angularls)
@@ -446,6 +447,35 @@ Default config:
446447
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/aiken.lua:4](../lua/lspconfig/configs/aiken.lua#L4)
447448

448449

450+
## air
451+
452+
https://github.com/posit-dev/air
453+
454+
Air is an R formatter and language server, written in Rust.
455+
456+
Refer to the [documentation](https://posit-dev.github.io/air/editors.html) for more details.
457+
458+
Snippet to enable the language server:
459+
```lua
460+
require'lspconfig'.air.setup{}
461+
```
462+
463+
Default config:
464+
- `cmd` :
465+
```lua
466+
{ "air", "language-server" }
467+
```
468+
- `filetypes` :
469+
```lua
470+
{ "r" }
471+
```
472+
- `root_dir` :
473+
```lua
474+
"/home/runner/work/nvim-lspconfig/nvim-lspconfig"
475+
```
476+
- `single_file_support` : `true`
477+
478+
449479
## alloy_ls
450480

451481
https://github.com/AlloyTools/org.alloytools.alloy

0 commit comments

Comments
 (0)