aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/pylsp.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
commitf8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch)
treec1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/pylsp.lua
parentfeat: angularls #3746 (diff)
downloadnvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip
docs: cleanup
- brief should live at the top of each file - fix indentation for some docs
Diffstat (limited to 'lsp/pylsp.lua')
-rw-r--r--lsp/pylsp.lua50
1 files changed, 25 insertions, 25 deletions
diff --git a/lsp/pylsp.lua b/lsp/pylsp.lua
index 9b9381fd..bb6fcf90 100644
--- a/lsp/pylsp.lua
+++ b/lsp/pylsp.lua
@@ -1,30 +1,30 @@
---@brief
---
--- https://github.com/python-lsp/python-lsp-server
---
--- A Python 3.6+ implementation of the Language Server Protocol.
---
--- See the [project's README](https://github.com/python-lsp/python-lsp-server) for installation instructions.
---
--- Configuration options are documented [here](https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md).
--- In order to configure an option, it must be translated to a nested Lua table and included in the `settings` argument to the `config('pylsp', {})` function.
--- For example, in order to set the `pylsp.plugins.pycodestyle.ignore` option:
--- ```lua
--- vim.lsp.config('pylsp', {
--- settings = {
--- pylsp = {
--- plugins = {
--- pycodestyle = {
--- ignore = {'W391'},
--- maxLineLength = 100
--- }
--- }
--- }
--- }
--- })
--- ```
---
--- Note: This is a community fork of `pyls`.
+--- https://github.com/python-lsp/python-lsp-server
+---
+--- A Python 3.6+ implementation of the Language Server Protocol.
+---
+--- See the [project's README](https://github.com/python-lsp/python-lsp-server) for installation instructions.
+---
+--- Configuration options are documented [here](https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md).
+--- In order to configure an option, it must be translated to a nested Lua table and included in the `settings` argument to the `config('pylsp', {})` function.
+--- For example, in order to set the `pylsp.plugins.pycodestyle.ignore` option:
+--- ```lua
+--- vim.lsp.config('pylsp', {
+--- settings = {
+--- pylsp = {
+--- plugins = {
+--- pycodestyle = {
+--- ignore = {'W391'},
+--- maxLineLength = 100
+--- }
+--- }
+--- }
+--- }
+--- })
+--- ```
+---
+--- Note: This is a community fork of `pyls`.
return {
cmd = { 'pylsp' },
filetypes = { 'python' },