Skip to content

Commit 8de8f96

Browse files
committed
Switch to enabling the plugin by default per review
Also fix a small error in our Readme
1 parent 6539757 commit 8de8f96

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To avoid unexpected results you should make sure `yapf` and `autopep8` are not i
3434
# Configuration
3535

3636
The plugin follows [python-lsp-server's
37-
configuration](https://github.com/python-lsp/python-lsp-server/#configuration=). These are
37+
configuration](https://github.com/python-lsp/python-lsp-server/#configuration). These are
3838
the valid configuration keys:
3939

4040
- `pylsp.plugins.black.enabled`: boolean to enable/disable the plugin.

pylsp_black/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def pylsp_settings():
4747
return {
4848
"plugins": {
4949
"black": {
50-
# Disable this plugin by default because it's third-party.
51-
"enabled": False,
50+
"enabled": True,
5251
"line_length": 88,
5352
"preview": False,
5453
"cache_config": False,

0 commit comments

Comments
 (0)