Skip to content

Commit 544700a

Browse files
docs: update configs.md
skip-checks: true
1 parent d9794a4 commit 544700a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

doc/configs.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11109,7 +11109,7 @@ pip install ruff
1110911109

1111011110
**Available in Ruff `v0.4.5` in beta and stabilized in Ruff `v0.5.3`.**
1111111111

11112-
This is the new built-in language server written in Rust. It supports the same feature set as `ruff-lsp`, but with superior performance and no installation required. Note that the `ruff-lsp` server will continue to be maintained until further notice.
11112+
This is the new built-in language server written in Rust. It supports the same feature set as `ruff-lsp`, but with superior performance and no separate installation required.
1111311113

1111411114
Server settings can be provided via:
1111511115

@@ -11154,6 +11154,8 @@ Default config:
1115411154

1115511155
https://github.com/astral-sh/ruff-lsp
1115611156

11157+
WARNING: `ruff-lsp` is now deprecated, LSP functionality is now built into `ruff` itself, consider setting up `ruff` instead.
11158+
1115711159
A Language Server Protocol implementation for Ruff, an extremely fast Python linter and code transformation tool, written in Rust. It can be installed via pip.
1115811160

1115911161
```sh
@@ -11187,6 +11189,7 @@ Default config:
1118711189
```lua
1118811190
{ "python" }
1118911191
```
11192+
- `on_init`: [../lsp/ruff_lsp.lua:27](../lsp/ruff_lsp.lua#L27)
1119011193
- `root_markers` :
1119111194
```lua
1119211195
{ "pyproject.toml", "ruff.toml", ".git" }

doc/configs.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8249,7 +8249,7 @@ A Language Server Protocol implementation for Ruff, an extremely fast Python lin
82498249

82508250
**Available in Ruff `v0.4.5` in beta and stabilized in Ruff `v0.5.3`.**
82518251

8252-
This is the new built-in language server written in Rust. It supports the same feature set as `ruff-lsp`, but with superior performance and no installation required. Note that the `ruff-lsp` server will continue to be maintained until further notice.
8252+
This is the new built-in language server written in Rust. It supports the same feature set as `ruff-lsp`, but with superior performance and no separate installation required.
82538253

82548254
Server settings can be provided via:
82558255
>lua
@@ -8283,6 +8283,8 @@ ruff_lsp
82838283

82848284
https://github.com/astral-sh/ruff-lsp
82858285

8286+
WARNING: `ruff-lsp` is now deprecated, LSP functionality is now built into `ruff` itself, consider setting up `ruff` instead.
8287+
82868288
A Language Server Protocol implementation for Ruff, an extremely fast Python linter and code transformation tool, written in Rust. It can be installed via pip.
82878289
>sh
82888290
pip install ruff-lsp
@@ -8307,6 +8309,7 @@ Default config:
83078309
{ "ruff-lsp" }
83088310
- filetypes: >lua
83098311
{ "python" }
8312+
- on_init (use "gF" to view): ../lsp/ruff_lsp.lua:27
83108313
- root_markers: >lua
83118314
{ "pyproject.toml", "ruff.toml", ".git" }
83128315
- settings: >lua

0 commit comments

Comments
 (0)