Skip to content

Commit 49ad16e

Browse files
authored
Update plugin.py
1 parent d873d0b commit 49ad16e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyls_black/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
import black
44
import toml
5-
from pyls import hookimpl
5+
from pylsp import hookimpl
66

77

88
@hookimpl(tryfirst=True)
9-
def pyls_format_document(document):
9+
def pylsp_format_document(document):
1010
return format_document(document)
1111

1212

1313
@hookimpl(tryfirst=True)
14-
def pyls_format_range(document, range):
14+
def pylsp_format_range(document, range):
1515
range["start"]["character"] = 0
1616
range["end"]["line"] += 1
1717
range["end"]["character"] = 0

0 commit comments

Comments
 (0)