We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8cfa53 commit 526ec12Copy full SHA for 526ec12
pylsp_black/plugin.py
@@ -66,6 +66,7 @@ def pylsp_settings():
66
def format_document(client_config, document, range=None):
67
text = document.source
68
config = load_config(document.path, client_config)
69
+ # Black lines indices are "1-based and inclusive on both ends"
70
lines = [(range["start"]["line"] + 1, range["end"]["line"])] if range else ()
71
72
try:
0 commit comments