From f8b5cbe6312b568def1f91d747e2cdb8984fdf2e Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 18 Apr 2025 17:44:38 +0200 Subject: docs: cleanup - brief should live at the top of each file - fix indentation for some docs --- lsp/ruff.lua | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'lsp/ruff.lua') diff --git a/lsp/ruff.lua b/lsp/ruff.lua index f458fd75..1df0b764 100644 --- a/lsp/ruff.lua +++ b/lsp/ruff.lua @@ -1,30 +1,30 @@ ---@brief --- --- https://github.com/astral-sh/ruff --- --- A Language Server Protocol implementation for Ruff, an extremely fast Python linter and code formatter, written in Rust. It can be installed via `pip`. --- --- ```sh --- pip install ruff --- ``` --- --- **Available in Ruff `v0.4.5` in beta and stabilized in Ruff `v0.5.3`.** --- --- 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. --- --- Server settings can be provided via: --- --- ```lua --- vim.lsp.config('ruff', { --- init_options = { --- settings = { --- -- Server settings should go here --- } --- } --- }) --- ``` --- --- Refer to the [documentation](https://docs.astral.sh/ruff/editors/) for more details. +--- https://github.com/astral-sh/ruff +--- +--- A Language Server Protocol implementation for Ruff, an extremely fast Python linter and code formatter, written in Rust. It can be installed via `pip`. +--- +--- ```sh +--- pip install ruff +--- ``` +--- +--- **Available in Ruff `v0.4.5` in beta and stabilized in Ruff `v0.5.3`.** +--- +--- 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. +--- +--- Server settings can be provided via: +--- +--- ```lua +--- vim.lsp.config('ruff', { +--- init_options = { +--- settings = { +--- -- Server settings should go here +--- } +--- } +--- }) +--- ``` +--- +--- Refer to the [documentation](https://docs.astral.sh/ruff/editors/) for more details. return { cmd = { 'ruff', 'server' }, filetypes = { 'python' }, -- cgit v1.2.3-70-g09d2