Skip to content

Commit

Permalink
Fix readme code block
Browse files Browse the repository at this point in the history
  • Loading branch information
tomv564 committed Oct 5, 2019
1 parent c1f2f55 commit 8ad660a
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Install into the same virtualenv as pyls itself.
Configuration
-------------

``live_mode`` (default is True) provides type checking as you type.
``live_mode`` (default is True) provides type checking as you type.

As mypy is unaware of what file path is being checked, there are limitations with live_mode
- Imports cannot be followed correctly
Expand All @@ -31,15 +31,17 @@ As mypy is unaware of what file path is being checked, there are limitations wit
Turning off live_mode means you must save your changes for mypy diagnostics to update correctly.

Depending on your editor, the configuration should be roughly like this:
.. code-block::

::

"pyls":
{
"plugins":
{
"pyls_mypy":
{
"enabled": true,
"live_mode": false
}
}
}
{
"plugins":
{
"pyls_mypy":
{
"enabled": true,
"live_mode": false
}
}
}

0 comments on commit 8ad660a

Please sign in to comment.