| 123456789101112131415161718 |
- --- @type vim.lsp.ClientConfig
- return {
- cmd = { 'ruff', 'server' },
- filetypes = { 'python' },
- root_markers = {
- 'pyproject.toml',
- 'setup.py',
- 'setup.cfg',
- 'requirements.txt',
- 'Pipfile',
- 'pyrightconfig.json',
- },
- single_file_support = true,
- settings = {},
- on_attach = function(client, _)
- client.server_capabilities.hoverProvider = false
- end
- }
|